Added number_of_sales method for products.