Histogram r←⋷y

r is the counts in the positions indicated by the indices in y. It is the equivalent of ⍸⍣¯1 in other APLs.