question: Were M2 , M3 , and M4 influenced by a film director and influenced by a costume designer 's spouse
query: SELECT count(*) WHERE {
  ?x0 a ns:film.director .
  ?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
  ?x2 a ns:film.film_costumer_designer .
  FILTER ( ?x1 != ?x2 ) .
  M2 ns:influence.influence_node.influenced_by ?x0 .
  M2 ns:influence.influence_node.influenced_by ?x1 .
  M3 ns:influence.influence_node.influenced_by ?x0 .
  M3 ns:influence.influence_node.influenced_by ?x1 .
  M4 ns:influence.influence_node.influenced_by ?x0 .
  M4 ns:influence.influence_node.influenced_by ?x1
  }