A.Enum.frequencies

You're seeing just the function frequencies, go back to A.Enum module for more information.

Specs

frequencies(t(val)) :: %{optional(val) => non_neg_integer()} when val: value()

Returns a map with keys as unique elements of enumerable and values as the count of every element.

Mirrors Enum.frequencies/1 with higher performance for Aja structures.