Store number of iterations
Better spsa overview