You need a group footer and a report footer. In the group footer, use an
expression in the controlsource something like:
= Count([data])
with [data] being the name of a textbox in the group. Do the same in the
Report footer:
= Count([data])
or you can Sum the group footer Count controlname in the report footer.