Was M3 influenced by a director of M1 and M2 and influenced by M0 's costume designer
SELECT count(*) WHERE {
?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
?x1 ns:film.director.film M1 .
?x1 ns:film.director.film M2 .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1
}