Did a screenwriter edit a film directed by M4 and M5 and direct M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.editor.film ?x1 .
?x1 a ns:film.film .
?x1 ns:film.film.directed_by M4 .
?x1 ns:film.film.directed_by M5
}