Counting all occurrence of all items in an iterable collections.Counter
Getting the most common value-s collections.Counter.most common
Counting the occurrences of one item in a sequence list.count and tuple.count
Counting the occurrences of a substring in a string str.count