add category counts