question: Was M2 directed by a film producer that a actor married , influenced , and was influenced by
query: SELECT count(*) WHERE {
  ?x0 a ns:film.producer .
  ?x0 ns:influence.influence_node.influenced ?x1 .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?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 ?x1 .
  ?x1 a ns:film.actor .
  FILTER ( ?x0 != ?x1 ) .
  M2 ns:film.film.directed_by ?x0
  }