define the number of products and categories