Hi, this article explains it very well, so i'm not going to go into how and benefits.
https://www.tachytelic.net/2021/06/power-automate-instant-sum-array/
You can use this method to: