Count the number of documents that do not have expenses.
select count(*) from documents where document_id not in ( select document_id from documents_with_expenses )