Was M1 edited by M2 , M3 , and M4 , edited by M5 , and written by a art director of M0
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed M0 .
M1 ns:film.film.edited_by M2 .
M1 ns:film.film.edited_by M3 .
M1 ns:film.film.edited_by M4 .
M1 ns:film.film.edited_by M5 .
M1 ns:film.film.written_by ?x0
}