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