Was M3 influenced by a art director of M1 and M2 and influenced by a art director
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.film_art_director.films_art_directed M2 .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1
}