Apply  counter_cache for course
Apply  counter_cache for tutorial