getting entries count for category
hiding categories without enries in statistics