Refactored student list to an array, and the student count to the length of that array