icon: package
collections.Counter(iterable)Return a dict containing the counts of each element in iterable.
collections.dequeA double-ended queue.
collections.defaultdictA dict wrapper that calls a factory function to supply missing values.
It is not a subclass of dict.