Was a costume designer employed by M2 's producer , employed by a production company , and employed by M1
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x2 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
?x2 a ns:film.production_company
}