Number of occurences of item in list

Get a dictionary of the number of times each element in the list appears

import collections

my_list=["some", "some", "items"]
print(collections.Counter(my_list))