Was M3 executive produced by M1 's American editor and written by a costume designer of M2
SELECT count(*) WHERE {
?x0 ns:film.editor.film M1 .
?x0 ns:people.person.nationality ns:m.09c7w0 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M2 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1
}