add cache to teacher score statistics