select   tname,count(*)   from   col   group   by   tname;