'Returns a list of the n most common (element, count)-tuples.'

def most_common(self, n=None):

    if (n is None):
        return sorted(self.items(), key=itemgetter(1), reverse=True)
    return nlargest(n, self.items(), key=itemgetter(1))
