let's say i have a list of things, like:
[bread, cookies, cake, chocolate, bread]
how can I make loop that will, in each iteration, create a variable with the name of the item in the list?
basically, i want to be able to count the times each item appears in the list, how can i do this?