mns/mangos — comment on commit b07048ad95f1a8d197e8ee3709bcc6fd57f9c2f2
File: src/game/BattleGroundIC.cpp line 828
By mns:

BattleGroundPlayerMap const& GetPlayers() const { return m_Players; }
uint32 GetPlayersSize() const { return m_Players.size(); }

same result :)