count of each category type