The total count is sometimes available as an attribute of the request, but not for all the inputs. If you process a query using a controller,
the total available hits count may (!) be available under the key "results-total".
P.S. Please use adequate subject line or I will have to reject your future posts to this list.