ah ok, you rely on the AuthID of the client to tell whether it's a bot or not...
Then you have to know that some bots overwrite their bot's AuthID and put "0" instead of "BOT", because having "BOT" as AuthID would mess up stats servers and bot stats could not be logged.
To count the number of bots then, check whether the AuthID is "BOT" OR whether it is "0". If it's one of both, then it's a bot.
