Long version of Iterable.sumBy.
The sum of all values produced by the selector function, applied to each element in the collection.