add count_cache