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