Carrot reference
Methods
.sum()
returns the sum of all values of a sequence docid\ jg4itlqwafzlparttfo67 or list docid\ xwh cukhj9waqaefb7h71 operates on sequence docid\ jg4itlqwafzlparttfo67 or list docid\ xwh cukhj9waqaefb7h71 returns number docid\ uci5tctfvbhonej6zqijg , money docid ks5d2xbfor9d8wfrivny , percent docid\ fbn7bfahlfpv4f1c53dxa syntax sum() returns the sum of the numeric elements of the list or sequence sum{expression} returns the sum of expression , evaluated against each of the elements of the list or sequence examples db job find{dept\ engineering} sum{basecomp} returns the total base compensation of everyone in the engineering department \[1, 2, 3] sum() returns 6 \[1, 2, 3] sum{it 2} returns 12