question: Was M3 's female cinematographer influenced by a screenwriter 's spouse , influenced by M0 , and influenced by M1
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film M3 .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x0 ns:influence.influence_node.influenced_by M0 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?x0 ns:people.person.gender ns:m.02zsn .
  ?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.writer .
  FILTER ( ?x1 != ?x2 )
  }