- [profiler] Fix handling of count for recursive function invocations