How to get total number of pages prior to report output.

How to get total number of pages prior to report output and make it appear in the report.

A quick search will give you at least 39 items[;)]

Also search Downloads where you will find this:

Tips: How to print page# n of m pages.

Thank you for both of you. I appreciated it.