Was M2 written by and directed by a costume designer that executive produced M1
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:film.producer.films_executive_produced M1 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.written_by ?x0
}