Was a sequel of a sequel of M2 distributed by M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M0 .
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M1 .
?x0 ns:film.film.prequel ?x1 .
?x1 ns:film.film.prequel M2
}