_SHELL is the current shell nesting level. The primary shell is level "0", and each subsequent secondary shell increments the level by 1.