A simple profiler that counts calls and records timing for grammar rules
