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