question: Were M2 , M3 , and M4 directed by a screenwriter , written by a screenwriter , and written by M0 's art director
query: SELECT count(*) WHERE {
  ?x0 ns:film.film_art_director.films_art_directed M0 .
  ?x1 a ns:film.writer .
  ?x2 a ns:film.writer .
  M2 ns:film.film.directed_by ?x2 .
  M2 ns:film.film.written_by ?x0 .
  M2 ns:film.film.written_by ?x1 .
  M3 ns:film.film.directed_by ?x2 .
  M3 ns:film.film.written_by ?x0 .
  M3 ns:film.film.written_by ?x1 .
  M4 ns:film.film.directed_by ?x2 .
  M4 ns:film.film.written_by ?x0 .
  M4 ns:film.film.written_by ?x1
  }