Was M2 produced by a film editor that wrote and directed M1
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:film.director.film M1 .
?x0 ns:film.writer.film M1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}