API: Fixed null values returned for Counts