Was M2 directed by M1 's executive producer , producer , writer , and director and edited by a film director
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x1 ns:film.director.film M1 .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.writer.film M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by ?x0
}