added totalCategoriesFetched counter