Did M2 star a screenwriter that M1 was directed by , written by , and edited by
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.director.film M1 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.writer.film M1 .
M2 ns:film.film.starring/ns:film.performance.actor ?x0
}