Hello, I am currently computing the "efficiency index" of an iterative method, given by this formula E = p^(1/m), where p is the order of the method and m is the number of functional evaluation of the iterative method. However, i do not know how to compute or count the number of functional evaluation of a function. Thank you for your answer.

p^(1/m) = E

1/m lnp = lnE
m = lnp/lnE