Were M4 and M5 executive produced by a film 's female producer and written by a Japanese film editor
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:people.person.gender ns:m.02zsn .
?x1 a ns:film.film .
?x2 a ns:film.editor .
?x2 ns:people.person.nationality ns:m.03_3d .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.written_by ?x2 .
M5 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.written_by ?x2
}