Crate counter
Counter based on the Python implementation of same: https://docs.python.org/3.5/library/collections.html#collections.Counter
Counts recurring elements from an iterable.