Was M5 a country of nationality of a Japanese writer of M0 , M1 , M2 , M3 , and M4
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:film.writer.film M4 .
?x0 ns:people.person.nationality ns:m.03_3d .
M5 ^ns:people.person.nationality ?x0
}