I'd better to consolidate all the events with the $event identifier:
on *:JOIN:#:count on *:PART:#:count on *:BAN:#:count on *:QUIT:count on *:NICK:count alias -l count { inc $+(%,$event) }
All the variable counts will appear as:
%join 5 %kick 2 etc...