Was M2 distributed by M0 's producer , distributed by a film director , and produced by M3
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 a ns:film.director .
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 ?x1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M3
}