Create a unbound textbox control on the subform (assuming continuous form
set) and type: =Count([fieldname]). This will return the count for that
particular subset of records in the subform. You could also create a query
and type: Store Count:Count([fieldname]) and then use the query with your
subform (assuming datasheet view).