In code, I don't think you can do it.
Also, I don't think you can use an action query as a data source for another query.
The reason is that, whenever you work with records in a query, Access works with the associated Recordset -- and you cannot create a Recordset from an action query as far as I know.
So, if you want to know the Sum and the Count of a set of records, you need to work with a standard query -- you can see the Count on the warning that Access is about to update xx records, but that's about it.
Denis