add counter cache to lessons