How to get NumBots correctly?

I noticed there is a readonly int property NumBots inside GameMode, I don’t know how it is tracked, manually or automatically, whenever I try to access it I get 0 as a result even though I have a number of AI controlled pawn with PlayerStates attached, I know that I can get all PlayerStates with a foreach to check IsBot for total bot count, but it drives me nuts knowing that there is an existing variable explicitly for that.

It’s Incremented in the InitSeamlessTravelPlayer Function

void AGameMode::InitSeamlessTravelPlayer(AController* NewController)
{
	Super::InitSeamlessTravelPlayer(NewController);

	APlayerController* NewPC = Cast<APlayerController>(NewController);

	if (NewPC != nullptr)
	{
		SetSeamlessTravelViewTarget(NewPC);

		if (!MustSpectate(NewPC))
		{
			NumPlayers++;
			NumTravellingPlayers--;
		}
	}
	else
	{
		NumBots++;
	}
}

Checkout GameMode.cpp if you want to dive deeper UE_5.4\Engine\Source\Runtime\Engine\Private\GameMode.cpp