Was M2 produced by a film editor that a film starred and edited by M3
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
?x1 a ns:film.film .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}