Change Count to sum counts of all rows returned not just the first scalar value.