.totalbots
From WikiManual
.totalbots returns the total number of bots in the simulation. This is usually used for shepherd bots.
.totalbots returns the total number of bots in the simulation. This is usually used for shepherd bots.