the hyperloglog technique, though, is biased for small cardinalities below a threshold of formula_20. the original paper proposes using a different algorithm for small cardinalities known as linear counting. in the case where the estimate provided above is less than the threshold formula_21, the alternative calculation can be used: