Display Sum of Fields

I have a repeat region that lists a set of records. One of the fields is a dollar amount. I want to display the SUM of that field.

How do I bind it to the page properly? When I bind it I get the following code which of course only shows the first record amount.

<p class="text-right font-weight-bold"> ${{SkillsHighwayTrainingCosts.data.query1[0].TotalTraining}}</p>

Here is some visuals:

Community Page
Last updated: