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