Was M3 a film whose art director and costume designer executive produced M1 , produced M2 , and wrote M0
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:film.writer.film M0 .
M3 a ns:film.film .
M3 ns:film.film.costume_design_by ?x0 .
M3 ns:film.film.film_art_direction_by ?x0
}