question: Was M3 edited by a screenwriter whose spouse founded M2 , written by a cinematographer , and edited by M4
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x1 a ns:film.writer .
  ?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
  ?x2 ns:organization.organization_founder.organizations_founded M2 .
  FILTER ( ?x1 != ?x2 ) .
  M3 ns:film.film.edited_by ?x1 .
  M3 ns:film.film.edited_by M4 .
  M3 ns:film.film.written_by ?x0
  }