put students into an array and referencing each student by their index number. also using length method to calculate the total count