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