Make call to query for counts