Fix counting number of linear iterations in NewtonMethod
Newton was rewriting the number of linear iterations instead of accumulating them. Fixed. Note that linear solver time is stored and accumulated in a separate variable, thus, in this case, rewriting the _result is correct.