use object counter in count min sketch
get rid of generic