A.Enum.count

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

Specs

count(t(any())) :: non_neg_integer()

Returns the size of the enumerable.

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

Specs

count(t(val), (val -> as_boolean(term()))) :: non_neg_integer()
when val: value()

Returns the count of elements in the enumerable for which fun returns a truthy value.

Mirrors Enum.count/2 with higher performance for Aja structures.