question: Did M3 marry and influence a screenwriter that was influenced by M1 and was influenced by a film producer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?x1 a ns:film.producer .
  FILTER ( M3 != ?x0 ) .
  M3 ns:influence.influence_node.influenced ?x0 .
  M3 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
  }