Counter

Counter(lst) gives counts for each element.

from collections import Counter
c = Counter(['a','b','a','c','a'])
print(c['a'])  # 3