Did M2 and M3 produce M1 's sequel and distribute M0 's prequel 's sequel
SELECT count(*) WHERE {
?x0 ns:film.film.prequel ?x1 .
?x1 ns:film.film.sequel M0 .
?x2 ns:film.film.prequel M1 .
M2 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film ?x0 .
M2 ns:film.producer.film|ns:film.production_company.films ?x2 .
M3 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film ?x0 .
M3 ns:film.producer.film|ns:film.production_company.films ?x2
}