Count occurrences of each distinct value.
an array
map function (v, i, x)
Map {value ⇒ count}
Generated using TypeDoc
Count occurrences of each distinct value.