Finding the number of students seated in different sections