Was M2 edited by a film editor and written by a film 's director
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x1 a ns:film.film .
?x2 a ns:film.editor .
M2 ns:film.film.edited_by ?x2 .
M2 ns:film.film.written_by ?x0
}