Was M4 written by a editor of M1 , M2 , and M3 and executive produced by a actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 ns:film.editor.film M1 .
?x1 ns:film.editor.film M2 .
?x1 ns:film.editor.film M3 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.written_by ?x1
}