Were M3 and M4 written by and directed by a Japanese cinematographer of M1 and M2
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M1 .
?x0 ns:film.cinematographer.film M2 .
?x0 ns:people.person.nationality ns:m.03_3d .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.written_by ?x0
}