More counter cache implementation details.