Were M2 , M3 , M4 , and M5 produced by a film director and edited by a producer and executive producer of M1
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.edited_by ?x1 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.edited_by ?x1 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}