select owner, object_type, count(*)
from dba_objects
group by owner,object_type
order by owner,object_type

OR

order by 1,2