add count-min sketch sample implementation