Erlang implementation of HyperLogLog