I was wondering if someone could link me or show me a script that would baisically count the number of people in a channel and then give the number and perhaps also the number of hops and ops and voices etc.

Anyone know?