[SQLite] レコードリストと同時に任意のカラムの個数を表示する方法

SELECT A_table.*, (SELECT count(*) FROM B_table WHERE A_table.b_id = B_table.id) FROM A_table