Use the PageNofM system variable to display the page number of the total number of pages in the report generator. This variable is a combination of system variables such as PageNumber and TotalPageCount and displays the page number of the total number of pages.

"Page 1 of 3" in the figure above indicates that the first of the three pages is available. PageNofM depends on localization and should be used with caution.