enable counter cache