Did M1 , M4 , and M5 influence M2 and M3 and influence a costume designer
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
M1 ns:influence.influence_node.influenced ?x0 .
M1 ns:influence.influence_node.influenced M2 .
M1 ns:influence.influence_node.influenced M3 .
M4 ns:influence.influence_node.influenced ?x0 .
M4 ns:influence.influence_node.influenced M2 .
M4 ns:influence.influence_node.influenced M3 .
M5 ns:influence.influence_node.influenced ?x0 .
M5 ns:influence.influence_node.influenced M2 .
M5 ns:influence.influence_node.influenced M3
}