Change the return type of TypedPipe.aggregate and TypedPipe.sum to be a ValuePipe