Finding the number of items sold