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