This version of Unity is unsupported.

SceneManager.sceneCount

public static int sceneCount;

Description

The current number of Scenes.

Returns the current number Scenes. This includes the Scenes that are currently loading or unloading. For the number of currently loaded Scenes see SceneManager.loadedSceneCount.