Were M5 and M6 edited by a art director that wrote M1 and wrote M2 , M3 , and M4
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:film.writer.film M4 .
M5 ns:film.film.edited_by ?x0 .
M6 ns:film.film.edited_by ?x0
}