Was M2 directed by a film director and written by a film editor
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x1 a ns:film.director .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.written_by ?x0
}