Were M3 and M5 executive produced by a film director that played M1 and M2 and edited by M4
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.actor.film/ns:film.performance.character M1 .
?x0 ns:film.actor.film/ns:film.performance.character M2 .
M3 ns:film.film.edited_by M4 .
M3 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.edited_by M4 .
M5 ns:film.film.executive_produced_by ?x0
}