Small fix in API.md in the description for "reduce"

The text said "where `item` is the resolved value", but the example signature didn't have "item". Also added a description of `total`.