So I have a list of words `wordList = list().\' Right now, I am counting each letter in each of the words throughout the whole list using this code
cnt = C
This creates a set from each word and passes them to the constructor of Counter.
>>> from itertools import chain, imap
>>> from operator import itemgetter
>>> from collections import Counter
>>> words = 'happy', 'harpy', 'hasty'
>>> counter = Counter(chain.from_iterable(imap(set, words)))
>>> map(itemgetter(0), counter.most_common())
['a', 'h', 'y', 'p', 's', 'r', 't']