Did a Japanese actor of M1 write M4 's sequel and direct M2 and M3
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.director.film M3 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.nationality ns:m.03_3d .
?x1 ns:film.film.prequel M4
}