For a report where you might be using group selection or suppression, use a running total that counts a recurring record. If any records are suppressed, you would have to use the opposite of the suppression criteria in the evaluation section of the running total.
For a page count, you can create a manual running total, by placing a reset formula in the page header:
whileprintingrecords;
numbervar pgcnt := 0;
And in the detail section (or other sections if you want to count them also, add:
whileprintingrecords;
numbervar pgcnt := pgcnt + 1;
You can display the result in the page footer if you like:
whileprintingrecords;
numbervar pgcnt;
-LB