Adding the total amount of fields based from categories?