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