Yes I was wondering about this, as well! I have tried things like:
{{formRepeat1.amountgrams.value}}
{{formRepeat1.items.sum(amountgrams.value)}}
{{formRepeat1.sum(amountgrams.value)}}
{{formRepeat1.items.sum('amountgrams.value')}}
{{formRepeat1.sum('amountgrams.value')}}
As inspired by How to calculate a totals field in a form with 20 currency input fields?
But no dice…
Did you have any luck with this?