Add option to NumNonlinearIterations to accumulate over step

ref#4052