make statistics of grades_course to grade_course