No. That would allow you to determine the runtime of any given (recursive) program (assuming it always terminates), but [that is not a computable problem](http://cstheory.stackexchange.com/questions/5004/are-runtime-bounds-in-p-decidable-answer-no/5011#5011).