If your report is printing everyone logged into the system - then you could do a count in the report footer. Or if it you want to print totals by lets say something like date. Then you make data a sort field on the report, then add an after.field layout section for date and put your count in that layout.
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.
systems provided free by Baan Board
Play the Google game and help Baanboard get better rankings. Do your part. Click here
to find how.