Were M3 , M4 , and M5 directed by M2 's director and produced by a Japanese screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:people.person.nationality ns:m.03_3d .
?x1 ns:film.director.film M2 .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.directed_by ?x1 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.directed_by ?x1 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}