Was a film 's sequel produced by M1 's distributor and distributed by M0
SELECT count(*) WHERE {
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M0 .
?x0 ns:film.film.prequel ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x1 a ns:film.film .
?x2 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M1
}