question: Was M0 's writer influenced by M1 , influenced by M2 , and influenced by M3 's art director and star
query: SELECT count(*) WHERE {
  ?x0 ns:film.writer.film 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.actor.film/ns:film.performance.film M3 .
  ?x1 ns:film.film_art_director.films_art_directed M3
  }