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