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