Amazon interview question

Count the users based on the product usage