added comment to countProducts