graph report page numbers

I have a graph report for index tests.  I'd like to go to output and print the results for all borings, but I want the page numbers at the upper right of the graph report to only have the number of pages for each boring.  Right now when I print for all results, it prints, for example, page 1 of 57, but I want it to be 1 of 3, when there are only three pages of results for a boring, and then start again at 1 for the next boring.

My page number code is:  Sheet <<Pg>> of <<Npgs>>

This code works fine for boring logs in that I can select all logs to print, and it restarts at 1 for each log.  It doesn't seem to work the same way for graph reports.  Is there a different code I should use?

Thank you.