Was M1 produced by M4 , edited by M0 's executive producer , edited by M5 , and written by M2 and M3
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
M1 ns:film.film.edited_by ?x0 .
M1 ns:film.film.edited_by M5 .
M1 ns:film.film.produced_by|ns:film.film.production_companies M4 .
M1 ns:film.film.written_by M2 .
M1 ns:film.film.written_by M3
}