>>> from collections import Counter >>> mylist = ["Bob", "Mike", "Bob", "Mike", "Mike", "Mike", "Bob"] >>> Counter(mylist) Counter({'Mike': 4, 'Bob': 3})