Was a film directed by M1 and directed by M2 's art director
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.directed_by M1 .
?x1 ns:film.film_art_director.films_art_directed M2
}