Did M3 direct a film whose prequel was distributed by M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.prequel ?x1 .
?x1 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M1 .
?x1 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M2 .
M3 ns:film.director.film ?x0
}