Was a film 's sequel 's prequel 's distributor M1
SELECT count(*) WHERE {
?x0 ns:film.film.sequel ?x1 .
?x1 ns:film.film.prequel ?x2 .
?x2 a ns:film.film .
M1 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film ?x0
}