Was M3 edited by a film director that executive produced M1 and executive produced M2 and directed by M4
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.producer.films_executive_produced M2 .
M3 ns:film.film.directed_by M4 .
M3 ns:film.film.edited_by ?x0
}