Radix.count

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

Specs

count(tree()) :: non_neg_integer()

Counts the number of entries by traversing given tree.

Example

iex> new([{<<>>, nil}, {<<1>>, 1}, {<<2>>, 2}])
...> |> count
3