Was a writer , star , and editor of M0 a director of M1 's sequel
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.director.film ?x1 .
?x0 ns:film.editor.film M0 .
?x0 ns:film.writer.film M0 .
?x1 ns:film.film.prequel M1
}