select count(*) as current_groups from groups
select count(*) as current_users from cc_users
select o.pretty_plural, o.object_type || ':' || o.pretty_plural as type_and_plural
from acs_object_types o, acs_object_type_supertype_map m
where m.ancestor_type = 'membership_rel'
and o.object_type = m.object_type