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