Returns the number of players listed in the battlefield scoreboard.
local numBattlefieldScores = GetNumBattlefieldScores()
Which is an effective way of counting the players in a battlefield.