if i want to write sql like this, ```sql select id, (select count(*) from sub) as cnt from main where id=? ``` what should i do?