Did M2 and M5 star M0 's Japanese writer and star M3 and M4
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.03_3d .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor M3 .
M2 ns:film.film.starring/ns:film.performance.actor M4 .
M5 ns:film.film.starring/ns:film.performance.actor ?x0 .
M5 ns:film.film.starring/ns:film.performance.actor M3 .
M5 ns:film.film.starring/ns:film.performance.actor M4
}