Was M1 a costume designer that M3 was executive produced by and a film was executive produced by
SELECT count(*) WHERE {
?x0 a ns:film.film .
M1 a ns:film.film_costumer_designer .
M1 ns:film.producer.films_executive_produced ?x0 .
M1 ns:film.producer.films_executive_produced M3
}