Did a art director edit M1 , write M3 , edit M2 , and executive produce a film
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.writer.film M3 .
?x1 a ns:film.film
}