How to add page numbers in the document

Hi Everyone,

I have been stuck in one of my requirement and seeking help. I have a report which gets downloaded in the pdf form. The report should have a page number at the bottom in the form of "1 of 10" like that. Can anyone please guide me how can I achieve this. Please note that pdf is generated from docx template.

Many Thanks

  Discussion posts and replies are publicly visible