question: Was a art director that M2 starred , was directed by , and was written by M0
query: SELECT count(*) WHERE {
  M0 a ns:film.film_art_director .
  M0 ns:film.actor.film/ns:film.performance.film M2 .
  M0 ns:film.director.film M2 .
  M0 ns:film.writer.film M2
  }