bin() :: {value, count}
count() :: non_neg_integer
options() :: %{max_bins: pos_integer}
t() :: %ApproximateHistogram{bins: [bin], options: options}
value() :: number
add(t, value) :: t
max_bins(t) :: non_neg_integer
new(pos_integer) :: t
size(t) :: non_neg_integer
to_list(t) :: [bin]