Tracking WordPress Function Calls

I needed a quick way to track function calls today, and the easiest way to do this seems to be with Debug Bar Extender’s dbgx_trace_var() which shows the times a variable is logged, so if you call it with the same variable name every time the function is called it will give you a count.