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