Was M2 influenced by M1 's costume designer and influenced by M0 's producer
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1
}