question: Was M3 written by M4 and written by a Canadian Chinese actor of M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.character M2 .
  ?x0 ns:people.person.nationality ns:m.0d05w3 .
  ?x0 ns:people.person.nationality ns:m.0d060g .
  M3 ns:film.film.written_by ?x0 .
  M3 ns:film.film.written_by M4
  }