You can do something like this:
domain tcamnt sum.amto
sum.amto = sum.amto + tiasc710.amto(1)
As a result, you will get the sum amount of the field when the query ends.
It's not the best solution though but it works as expected.