Did M2 influence a costume designer , influence M3 , M4 , and M5 , and influence a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x1 a ns:film.writer .
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
}