add category specific product count logic