Were M2 and M3 edited by a film 's art director and produced by a film producer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 ns:film.film_art_director.films_art_directed ?x2 .
?x2 a ns:film.film .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}