don't keep empty counts in the sampling of dicts