Tracking number of reinvocations for debugging purposes