Did M5 's art director and star influence M0 , influence M1 and M2 , and influence M3 and M4
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M5 .
?x0 ns:film.film_art_director.films_art_directed M5 .
?x0 ns:influence.influence_node.influenced M0 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3 .
?x0 ns:influence.influence_node.influenced M4
}