question: Was M3 's prequel 's writer influenced by M4 's producer , influenced by M0 and M1 , and influenced by M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.writer.film ?x1 .
  ?x0 ns:influence.influence_node.influenced_by ?x2 .
  ?x0 ns:influence.influence_node.influenced_by M0 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?x0 ns:influence.influence_node.influenced_by M2 .
  ?x1 ns:film.film.sequel M3 .
  ?x2 ns:film.producer.film|ns:film.production_company.films M4
  }