Get the number of active agents that are child objects of the AIMFormationConfiguration.
You may want to override this method for a more complex logic.