question: Were M2 , M4 , M5 , and M6 written by M3 and written by a Japanese person
query: SELECT count(*) WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:people.person.nationality ns:m.03_3d .
  M2 ns:film.film.written_by ?x0 .
  M2 ns:film.film.written_by M3 .
  M4 ns:film.film.written_by ?x0 .
  M4 ns:film.film.written_by M3 .
  M5 ns:film.film.written_by ?x0 .
  M5 ns:film.film.written_by M3 .
  M6 ns:film.film.written_by ?x0 .
  M6 ns:film.film.written_by M3
  }