Move updateTotalScore() from ResultHelper to ScoreCalculator.