I have seen many posts and have tried to build with all the scenes, without any of them and then building with them again. For some reason, the counts between the scenemanager and the build settings is different.
The first is the number of the CURRENTLY LOADED scenes the second is the ‘how many scenes were added to the build settings’. So I don’t see any problems here.
Use [SceneManager.sceneCountInBuildSettings](https://docs.unity3d.com/ScriptReference/SceneManagement.SceneManager-sceneCountInBuildSettings.html) instead.