add counter_cache for benchmark_tasks