Did M2 influence a art director that M1 influenced , influence M3 , and influence M4 and M5
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:influence.influence_node.influenced_by M1 .
M2 ns:influence.influence_node.influenced ?x0 .
M2 ns:influence.influence_node.influenced M3 .
M2 ns:influence.influence_node.influenced M4 .
M2 ns:influence.influence_node.influenced M5
}