question: Did M2 marry M4 , marry a person , influence M3 , and influence a film 's cinematographer
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film ?x1 .
  ?x1 a ns:film.film .
  ?x2 a ns:people.person .
  FILTER ( M2 != ?x2 ) .
  FILTER ( M2 != M4 ) .
  M2 ns:influence.influence_node.influenced ?x0 .
  M2 ns:influence.influence_node.influenced M3 .
  M2 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 .
  M2 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
  }