Was a Japanese writer of M0 and M1 a film 's star
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.03_3d .
?x1 a ns:film.film
}