question: Was a Japanese cinematographer that played M3 M1 's writer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x0 ns:film.actor.film/ns:film.performance.character M3 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:people.person.nationality ns:m.03_3d
  }