question: Was M0 's executive producer and star influenced by M1 and M2 and influenced by a film 's writer
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.film M0 .
  ?x0 ns:film.producer.films_executive_produced M0 .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?x0 ns:influence.influence_node.influenced_by M2 .
  ?x1 ns:film.writer.film ?x2 .
  ?x2 a ns:film.film
  }