K-Minimum values sketch

Simple probabilistic data structure used to count distinct values.
source