Return each apartment type code with the number of apartments having that apartment type, in ascending order of the number of apartments.
select apt_type_code, count(*) from apartments group by apt_type_code order by count(*) asc