Well you could use the DCount Function. You would have to select a field in the query that didn't have nulls, like the Primary Key, and then use this as the ControlSource for the textbox on your form:
=DCount("[FieldNameHere]","[QueryNameHere])
That should do it.
Paul