counts the students