get the top from counter in python code example Example: count values in list usiing counter from collections import Counter