Asks for the current nesting level of the main loop.
the nesting level of the current invocation of the main loop