Did M2 , M3 , and M4 star M1 's executive producer , producer , and art director and star a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x1 .
M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
M3 ns:film.film.starring/ns:film.performance.actor ?x1 .
M4 ns:film.film.starring/ns:film.performance.actor ?x0 .
M4 ns:film.film.starring/ns:film.performance.actor ?x1
}