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