Can anyone please explain for me the .reduce method in this code?

{sum:0, count:0} is the initial value which is the second parameter to reduce. It is not part of the callback function parameter list.

reduce(callbackFn, initialValue)