optimplotfunccount — Plot the number of function evaluations of an optimization algorithm
optimplotfunccount ( x , optimValues , state )
This function creates and updates a plot of the number of function evaluations, depending on the number of iterations. It is a pre-defined plot function which should be used as an option of the "PlotFcns" option.