Did M2 influence a costume designer that M1 was played by and influence M3
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:film.actor.film/ns:film.performance.character M1 .
M2 ns:influence.influence_node.influenced ?x0 .
M2 ns:influence.influence_node.influenced M3
}