Were M3 , M4 , and M5 produced and edited by a film editor that wrote M1 and directed M2
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:film.director.film M2 .
?x0 ns:film.writer.film M1 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}