Was M2 written and executive produced by a male costume designer of M0
SELECT count(*) WHERE {
?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
?x0 ns:people.person.gender ns:m.05zppz .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.written_by ?x0
}