added getScoreSum function to statistics