Making support for multiple counter caches