Is it possible to sum the contents field within a group

I have a table with 3 columns
Id, catagory and time in minutes

I have a repeat with a group on the catagory,
and this within the repeat Catagory: {{$key}} Number of Entries: {{$value.count()}}
is it possible to also output a sum for the time in minutes on the same line?

So for instance it would output the following (if all three time in minutes entries where 15 mins each)
Catagory : Walking Number of entries:3 Time in minutes: 45
Catagory : Running Number of entries:2 Time in minutes: 30

Community Page
Last updated: