Were M2 and M4 written by a Japanese executive producer , writer , and editor of M0 and written by M3
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.03_3d .
M2 ns:film.film.written_by ?x0 .
M2 ns:film.film.written_by M3 .
M4 ns:film.film.written_by ?x0 .
M4 ns:film.film.written_by M3
}