Was a costume designer influenced by M1 and M2 influenced by M5 's male cinematographer and influenced by M3
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?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.cinematographer.film M5 .
?x1 ns:people.person.gender ns:m.05zppz
}