question: Were M3 , M4 , and M5 influenced by a cinematographer and director of M0 and M1 and influenced by a screenwriter
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film M0 .
  ?x0 ns:film.cinematographer.film M1 .
  ?x0 ns:film.director.film M0 .
  ?x0 ns:film.director.film M1 .
  ?x1 a ns:film.writer .
  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 .
  M5 ns:influence.influence_node.influenced_by ?x0 .
  M5 ns:influence.influence_node.influenced_by ?x1
  }