Refactor several total variables to just 2 - total_score and totals