CREATE TABLE Documents_with_expenses (document_id VARCHAR)
CREATE TABLE Documents (document_id VARCHAR)

How many documents do not have any expense?
SELECT COUNT(*) FROM Documents WHERE NOT document_id IN (SELECT document_id FROM Documents_with_expenses)
SELECT COUNT(*) FROM "Documents" WHERE NOT "document_id" IN (SELECT "document_id" FROM "Documents_with_expenses")