Query\QueryBuilder::selectSum

Selects the sum of a field from a query