question: Did M2 's female cinematographer influence a art director that M4 and M5 married and influence M0
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film M2 .
  ?x0 ns:influence.influence_node.influenced ?x1 .
  ?x0 ns:influence.influence_node.influenced M0 .
  ?x0 ns:people.person.gender ns:m.02zsn .
  ?x1 a ns:film.film_art_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 M4 .
  ?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 M5 .
  FILTER ( ?x1 != M4 ) .
  FILTER ( ?x1 != M5 )
  }