question: Was M3 written by and executive produced by a Canadian film director that wrote M0 and directed M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.director.film M2 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:people.person.nationality ns:m.0d060g .
  M3 ns:film.film.executive_produced_by ?x0 .
  M3 ns:film.film.written_by ?x0
  }