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