Was a male Japanese screenwriter that M2 starred , was edited by , and was written by a film editor
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.writer.film M2 .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.03_3d
}