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