Solving for the number of students in a specific group