Code:
on *:text:!count*:?: { 
if ($nick != YOURNICK) return
var %channel $iif($2,$2,#DEFAULTCHANNEL)
var %users $nick(%channel,0)
msg $nick There are %users users in %channel $+ .
}
Replace #DEFAULTCHANNEL with the channel you'll be using the most, and replace YOURNICK with your nick. Then message the bot !count or !count #channel.

!count returns the default channel's users, and !count #channel returns that #channel's users.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net