LET $players := document("RainbowCore/Xopt/teamsdb.xml")/starplayer/row RETURN count($players/starplayername)