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