enhance course enrollments counting