max attendance for students in view