Mental Model
Count how many times each item appears by using a box that remembers counts for each item.
Analogy: Imagine you have a basket of fruits and a notebook. Each time you see a fruit, you write down its name and add one to its count in the notebook.
Basket: [apple, banana, apple, orange, banana] Notebook: apple -> 2 banana -> 2 orange -> 1
