Was M0 's prequel edited by M2 's editor and star and directed by M1
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.sequel M0 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x1 ns:film.editor.film M2
}