Did M1 and M6 influence M2 and M3 , influence M4 and M5 , 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 .
M1 ns:influence.influence_node.influenced M4 .
M1 ns:influence.influence_node.influenced M5 .
M6 ns:influence.influence_node.influenced ?x0 .
M6 ns:influence.influence_node.influenced M2 .
M6 ns:influence.influence_node.influenced M3 .
M6 ns:influence.influence_node.influenced M4 .
M6 ns:influence.influence_node.influenced M5
}