. . where 'n' is specified as usual. 'm' is the total number of records selected for the (sub-)report and I don't know how to get that printed out.

I use the steam-driven CR7 and this information will be printed on the heading of a sub-report, thus - 'Subreport A - Top n of m records'