Returns a map from distinct items in coll to the number of times
they appear.
Source
(defnfrequencies"Returns a map from distinct items in coll to the number of times
they appear."{:added"1.2":statictrue}[coll](persistent!(reduce(fn[countsx](assoc!countsx(inc(getcountsx0))))(transient{})coll)))