Collection::sum() just sums values when no parameter is supplied

Calling `sum()` on a collection without passing a parameter will just
sum the values in the collection.