Was M1 a film produced by M3 and produced by a art director
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
M1 a ns:film.film .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M1 ns:film.film.produced_by|ns:film.film.production_companies M3
}