Were M3 and M5 edited by a executive producer of M0 and M1 , edited by M2 's director , and directed by M4
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.films_executive_produced M1 .
?x1 ns:film.director.film M2 .
M3 ns:film.film.directed_by M4 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.edited_by ?x1 .
M5 ns:film.film.directed_by M4 .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.edited_by ?x1
}