add memcache counter class