Learning-augmented count-min sketches via Bayesian nonparametrics