Was M3 written by a Japanese film editor that wrote and executive produced M1 and edited by M4
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.03_3d .
M3 ns:film.film.edited_by M4 .
M3 ns:film.film.written_by ?x0
}