Did a art director influence a director , star , and writer of M3 and influence M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x1 ns:film.actor.film/ns:film.performance.film M3 .
?x1 ns:film.director.film M3 .
?x1 ns:film.writer.film M3
}