fix null pointer exception from student number collection in metrics