Did a writer and art director of M3 and M4 edit M0 and M1 and edit M2
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.film_art_director.films_art_directed M3 .
?x0 ns:film.film_art_director.films_art_directed M4 .
?x0 ns:film.writer.film M3 .
?x0 ns:film.writer.film M4
}