Adds count to categories, representing the number of dataset for each category