Find how many are there in the scene

I’ve been experimenting with ‘GameObject.FindGameObjectsWithTag’, but I have trouble converting it to :int.

FindGameObjectsWithTag creates an array with references to all game objects that have the specified tag. You definitely can’t convert an array of GameObject to int, but can get its length:

var objects: GameObject[] = GameObject.FindGameObjectsWithTag("SomeTag");
var howMany = objects.length; // get the array length