insert into b(dd,ee)
select (select count(*) from a) dd,ee from a