question: Were M3 and M4 directed and written by a Japanese actor whose child directed M2
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
  ?x0 ns:people.person.nationality ns:m.03_3d .
  ?x1 ns:film.director.film M2 .
  M3 ns:film.film.directed_by ?x0 .
  M3 ns:film.film.written_by ?x0 .
  M4 ns:film.film.directed_by ?x0 .
  M4 ns:film.film.written_by ?x0
  }