Show the ids of documents with expenses.
select document_id from documents_with_expenses
Show ids for those which don't.
select document_id from documents where document_id not in ( select document_id from documents_with_expenses )
How many of such documents are there?
select count(*) from documents where document_id not in ( select document_id from documents_with_expenses )