On hitting recursion limit, pass but keep a count of how often the limit is hit