select count(nodeid) from B where id=2(某个贴子的)select count(nodeid) from B group by id(所有贴子的)