I have a dataframe that has two columns, `user_id` and `item_bought`.
Here `user_id` is the index of the dataframe. I want to group by both `user_id` and `item_bought` and get the item wise count for the user.

How do I do that?