Was M1 a film produced by a costume designer and produced by M3
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
M1 a ns:film.film .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M1 ns:film.film.produced_by|ns:film.film.production_companies M3
}