Count of categories and totalcount displayed successfully