You can insert the page number or the number of total pages to your template. To do so, simply open the Special Objects category in the Report Items browser, and drag the required snippet to the header or footer section.