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