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