Did M1 influence a costume designer , influence M2 , and influence M3
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
}