C++ implementation of HyperLogLog