Were M2 , M3 , M4 , and M5 written by a company 's Japanese employee
SELECT count(*) WHERE {
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x0 ns:people.person.nationality ns:m.03_3d .
?x1 a ns:business.employer .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.written_by ?x0
}