Were M2 and M3 distributed by a cinematographer and distributed by a film producer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 a ns:film.cinematographer .
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 .
M3 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M3 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x1
}