question: Were M2 , M4 , and M5 influenced by M3 and influenced by a director , executive producer , and writer of M0 and M1
query: SELECT count(*) WHERE {
  ?x0 ns:film.director.film M0 .
  ?x0 ns:film.director.film M1 .
  ?x0 ns:film.producer.films_executive_produced M0 .
  ?x0 ns:film.producer.films_executive_produced M1 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:film.writer.film M1 .
  M2 ns:influence.influence_node.influenced_by ?x0 .
  M2 ns:influence.influence_node.influenced_by M3 .
  M4 ns:influence.influence_node.influenced_by ?x0 .
  M4 ns:influence.influence_node.influenced_by M3 .
  M5 ns:influence.influence_node.influenced_by ?x0 .
  M5 ns:influence.influence_node.influenced_by M3
  }