Was a art director influenced by M1 and M2 , influenced by M5 's female director , and influenced by M3
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x1 ns:film.director.film M5 .
?x1 ns:people.person.gender ns:m.02zsn
}