Trivial reformat.
Remove the use of the reduce method by making use of the sum method.