Did M3 and M4 star a Japanese screenwriter that M2 was produced by
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:people.person.nationality ns:m.03_3d .
M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
M4 ns:film.film.starring/ns:film.performance.actor ?x0
}