A counter based cache.