Was M3 's star a Japanese film editor that directed M4 and M5 and wrote M1
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.director.film M4 .
?x0 ns:film.director.film M5 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.03_3d
}