question: Was a screenwriter that M2 and M3 were influenced by and M4 , M5 , and M6 influenced a cinematographer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x0 a ns:film.writer .
  ?x0 ns:influence.influence_node.influenced M2 .
  ?x0 ns:influence.influence_node.influenced M3 .
  ?x0 ns:influence.influence_node.influenced_by M4 .
  ?x0 ns:influence.influence_node.influenced_by M5 .
  ?x0 ns:influence.influence_node.influenced_by M6
  }