Tweeted By @python_tip
#python lists have the count() method that returns the number of occurrences of an element:
— Daily Python Tip (@python_tip) December 31, 2018
>>> lst = [1, 1, 2, 3, 4, 5, 1, 3, 3, 3, 7, 9, 3]
>>> lst.count(2)
1
Most common item:
>>> max(lst, key=lst.count)
3