getScore(); $totalWeight = $trackedExercise->getMaxScore(); echo $totalScore.'/'.$totalWeight;