question: Was a film directed by and written by M1 's executive producer , director , art director , star , and cinematographer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.directed_by ?x1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 ns:film.actor.film/ns:film.performance.film M1 .
  ?x1 ns:film.cinematographer.film M1 .
  ?x1 ns:film.director.film M1 .
  ?x1 ns:film.film_art_director.films_art_directed M1 .
  ?x1 ns:film.producer.films_executive_produced M1
  }