Optimization of sum-of-array-plus-one

Removed a single addition operation