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