Here is how to get a count of users for each user role in a Drupal 6 or 7 site:
SELECT
COUNT(u.uid) AS user_count,
r.name AS role
FROM {users} u
INNER JOIN {users_roles} ur ON u.uid = ur.uid
INNER JOIN {role} r ON ur.rid = r.rid
GROUP BY r.name
ORDER BY user_count DESC;
(Note, this isn't the 'correct' way to do it in Drupal 7, we should really use the new Database API layer, but I'm lazy right now.)
This will give you a table something like this:
Recent comments