count: implement count-mean-min estimation

This commit adds count-min-mean estimation ( described in http://webdocs.cs.ualberta.ca/~fandeng/paper/cmm.pdf ) which produces better results for low-frequency items at the risk of larger under-estimation error.