NumBots

From the Scripting Manual
Data Type: Byte Description: Current number of BOT Players in the server.