Did M1 's sequel 's sequel star a screenwriter
SELECT count(*) WHERE {
?x0 ns:film.film.prequel ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor ?x2 .
?x1 ns:film.film.prequel M1 .
?x2 a ns:film.writer
}