>>> import collections
>>> c = collections.Counter("please count the letters in this sentence and tell me the most common letter thanks")
>>> c.most_common()
[(' ', 14), ('e', 13), ('t', 12), ('n', 7), ('s', 6), ('l', 5), ('o', 4), ('h', 4), ('m', 4), ('a', 3), ('c', 3), ('r', 2), ('i', 2), ('p', 1), ('u', 1), ('d', 1), ('k', 1)]
>>> c.most_common(1)
[(' ', 14)]
>>> c.most_common(5)
[(' ', 14), ('e', 13), ('t', 12), ('n', 7), ('s', 6)]