question: Were M3 and M6 executive produced by a cinematographer that influenced M1 and M2 and written by M4 and M5
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x0 ns:influence.influence_node.influenced M1 .
  ?x0 ns:influence.influence_node.influenced M2 .
  M3 ns:film.film.executive_produced_by ?x0 .
  M3 ns:film.film.written_by M4 .
  M3 ns:film.film.written_by M5 .
  M6 ns:film.film.executive_produced_by ?x0 .
  M6 ns:film.film.written_by M4 .
  M6 ns:film.film.written_by M5
  }