question: Was a actor whose German spouse wrote M2 , M3 , and M4 and edited M0 and M1 M6
query: SELECT count(*) WHERE {
  ?x0 ns:film.editor.film M0 .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.writer.film M2 .
  ?x0 ns:film.writer.film M3 .
  ?x0 ns:film.writer.film M4 .
  ?x0 ns:people.person.nationality ns:m.0345h .
  FILTER ( M6 != ?x0 ) .
  M6 a ns:film.actor .
  M6 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0
  }