Implementation of 'Recordinality' cardinality estimation sketch with distinct value sampling