iterable
에 대해 요소 별 개수를 구해주는 모듈
from collections import Counter
if __name__ == '__main__':
numbers = [1, 1, 2, 2, 2, 3, 3, 3, 3]
counter = Counter(numbers)
# Counter({3: 4, 2: 3, 1: 2})
print(counter)
# [(3, 4), (2, 3), (1, 2)]
print(counter.most_common())
# [(3, 4)]
print(counter.most_common(1))