How do you calculate the existing number of students in a course?
The number of students shows people who have obtained the course and have currently marked it as to learn. If they archive it, they will be removed from the student count and the student count will go down.