You should read the original Flajolet Martin paper if all you're doing is distinct count estimation.
Probabilistic method (1985): http://algo.inria.fr/flajolet/Publications/FlMa85.pdf
Hyper log log (2007): http://algo.inria.fr/flajolet/Publications/FlFuGaMe07.pdf