Was a writer , editor , and executive producer of M2 a screenwriter that M1 was edited by and M3 starred
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.writer.film M2
}