I love the new progress functionality, but it would be somewhat useful to also show the number of messages exported as well as the total number to be exported.
Unfortunately, the total number of messages is unavailable
Really? I can find it for any channel by doing this:

Yes, this feature seems to only be available in the client. There's a way to call that part of the API but if the chat hasn't been searched in for, it will take some time to populate. Also, I don't think it's available to bots.
Overall, I considered it when it was brought up in #143 but decided it was too much of a hassle since it's already showing approximate progress anyway.
In particular, sending a request to https://discordapp.com/api/v6/guilds/GUILD_ID/messages/search?channel_id=CHANNEL_ID&include_nsfw=true sends back the following data:
{
"total_results":79130,
"analytics_id":"0bd013a8be929dba2fc3a65fbd8f6342",
"messages":[...],
}
Edit: sorry for responding after you commented, my internet was lagging and I didn't realize you'd responded
Is there a particular need you want the number of messages for or is it just for more visibility?
My main use would be to more accurately estimate the time an export would take, and the space it would use.
I would wait until they add a documented and supported API endpoint for that.
OK. If that can't be done, could the messages currently downloaded still be displayed?
Yes
Thanks! BTW, love this project :heart:
The project loves you back :)