generic Sum aggregator, and simple example usage