Question: How many of them have expenses?
SQL: SELECT count ( document_id )  FROM Documents_with_expenses