add count of students to get_all_classes and list of classes