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