Was M2 executive produced by M3 and directed by a film 's Japanese writer
SELECT count(*) WHERE {
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.nationality ns:m.03_3d .
?x1 a ns:film.film .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.executive_produced_by M3
}