Total page number shows 0 on the footer of every single page.
To reproduce the issue do the followings
Create a space or global Export profile.
Put TOTAL_PAGE_NO into the header and/or footer
Create a new page in any space
Export the page selecting the export profile created in step 1. Make sure you do not customise any way the export, only use the export profile.
It is reproducible both on Cloud and Server/DC.
The fix is ready for both platforms.