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