Sum() option inside custom formula

Hi, it would be nice to sum any calculation and not Just specific collections. It could be added to functions inside the custom formula.