Did M3 influence a director , cinematographer , and producer of M1 and M2 and influence M0 's costume designer
SELECT count(*) WHERE {
?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
?x1 ns:film.cinematographer.film M1 .
?x1 ns:film.cinematographer.film M2 .
?x1 ns:film.director.film M1 .
?x1 ns:film.director.film M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
M3 ns:influence.influence_node.influenced ?x0 .
M3 ns:influence.influence_node.influenced ?x1
}