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