Was a star of a film 's prequel and sequel M1
SELECT count(*) WHERE {
?x0 ns:film.film.prequel ?x1 .
?x0 ns:film.film.sequel ?x1 .
?x1 a ns:film.film .
M1 ns:film.actor.film/ns:film.performance.film ?x0
}