import collections

my_list = [1, 2, 3, 4, 5, 6, 7, 8, 7, 9, 1, 2, 3, 3, 5, 2, 6, 8, 9, 0, 1, 1, 4, 7, 0]
counter = collections.Counter(my_list)
print(counter[1])
print(counter[3])
print(counter[100])