question: Was a film 's editor , art director , and writer a actor that M2 married and M1 was influenced by
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x0 ns:film.editor.film ?x1 .
  ?x0 ns:film.film_art_director.films_art_directed ?x1 .
  ?x0 ns:film.writer.film ?x1 .
  ?x0 ns:influence.influence_node.influenced M1 .
  ?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M2 .
  ?x1 a ns:film.film .
  FILTER ( ?x0 != M2 )
  }