This version of Unity is unsupported.

SceneManager.sceneCount

public static int sceneCount;

Description

The total number of Scenes in the Hierarchy.

Returns the number of Scenes in the Hierarchy.