question: Was a film director whose Swedish spouse married M2 , M3 , M4 , and M5 and was influenced by M0 M6
query: SELECT count(*) WHERE {
  ?x0 ns:influence.influence_node.influenced_by M0 .
  ?x0 ns:people.person.nationality ns:m.0d0vqn .
  ?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 .
  ?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 M3 .
  ?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 M4 .
  ?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 M5 .
  FILTER ( ?x0 != M2 ) .
  FILTER ( ?x0 != M3 ) .
  FILTER ( ?x0 != M4 ) .
  FILTER ( ?x0 != M5 ) .
  FILTER ( M6 != ?x0 ) .
  M6 a ns:film.director .
  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
  }