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