Counts occurrences of tuples.
Adds the tuple to the accumulator. Each time a tuple is added, the corresponding value increments by 1.
Alternatively, can also receive an array with the chain of values
Rest
the previous count of the added element
Adds the value associated to the given tuple. If no value is defined for the given tuple, returns 0.
Returns an array of arrays with keys that have a value set.
Counts occurrences of tuples.