To find the amount of student in a row, we need to recall that the number of students is equal to the number of rows. All together there are 64 students.
This means that a number times itself must be 64. The only number times itself which equals 64 is 8.