question: Was M0 's producer and art director a film 's cinematographer , star , costume designer , writer , and director
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
  ?x0 ns:film.cinematographer.film ?x1 .
  ?x0 ns:film.director.film ?x1 .
  ?x0 ns:film.film_art_director.films_art_directed M0 .
  ?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M0 .
  ?x0 ns:film.writer.film ?x1 .
  ?x1 a ns:film.film
  }