The article mentions HLL, but there are even more useful extensions (e.g topn to handle tops through the jsonb format).