What are the unique types of institution?
select distinct type from institution
Count those.
select type, count(*) from institution group by type
Also sum over enrollment.
select type, count(*), sum(enrollment) from institution group by type