Refactored student_count to a variable