Was a costume designer a writer and executive producer of M1
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.writer.film M1
}