Was M2 produced by a producer and art director of M1 and produced by a cinematographer of M0
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}