Did M3 star a art director that M1 was influenced by and M2 was influenced by
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
M3 ns:film.film.starring/ns:film.performance.actor ?x0
}