implementing counter cache - wip