Can you post the SQL text of your current query? And can you explain why you
need to do this? And where - in a form, in a report, ...?
You may be able to use DCOUNT to do what you want in a query.
On a form, you might use RecordSetClone.RecordCount
In a report, you might use =Count(*) as a control's source in the report header
or footer.