Was a film 's sequel 's prequel 's director , writer , and producer M1
SELECT count(*) WHERE {
?x0 ns:film.film.sequel ?x1 .
?x1 ns:film.film.prequel ?x2 .
?x2 a ns:film.film .
M1 ns:film.director.film ?x0 .
M1 ns:film.producer.film|ns:film.production_company.films ?x0 .
M1 ns:film.writer.film ?x0
}