Add output format option to numbers.sum