Did M3 star M4 , star M0 's executive producer , and star a Japanese screenwriter
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x1 a ns:film.writer .
?x1 ns:people.person.nationality ns:m.03_3d .
M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
M3 ns:film.film.starring/ns:film.performance.actor ?x1 .
M3 ns:film.film.starring/ns:film.performance.actor M4
}