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