Use a for loop for team counting in default team spawn code (this one will surely uncover problems with this method - if any)