Sum extracted elements of Iterable with given group
the collection to sum up.
tha algebra that provides addition
the (inline) lambda function to extract value