Were M2 and M4 distributed by a distributor of M0 and M1 and distributed by M3
SELECT count(*) WHERE {
?x0 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M0 .
?x0 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M1 .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3
}