How are students' statistics calculated?