I'm pretty new to python and I'm looking to find a relatively simple way to get the top 10 most common items in a list with their occurrences. I saw some solutions however I'm not sure which solution is the best if I'm counting occurrences.
Is there a structure that is best suited for this type of use?