sqlite> SELECT count(DISTINCT id) FROM one.tbl_manga WHERE id NOT IN (SELECT DISTINCT id FROM tbl_bookdata); 308
こういうことだ。