Count rows returned by the query instead of keys in #count hash