Object to be counted. Used as key in the Map.
Returns an iterable of entries in the map.
Returns an iterable of key, value pairs for every entry in the map.
Returns an iterable of keys in the map
list of [object, count]
tuples sorted by descending count
sum of counts
Returns an iterable of values in the map
Generated using TypeDoc
A Counter is a Map subclass for counting objects. Elements are stored as keys and their counts are stored as values. This is similar to Python's collections.Counter.