Was M3 produced by , edited by , directed by , and written by a Japanese cinematographer that M2 starred
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:people.person.nationality ns:m.03_3d .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.written_by ?x0
}