add function sub_numstudent
add funtion sub_numstudent