select type, count(*) from person group by type;