Was M0 a Canadian film director that M2 was written and edited by
SELECT count(*) WHERE {
M0 a ns:film.director .
M0 ns:film.editor.film M2 .
M0 ns:film.writer.film M2 .
M0 ns:people.person.nationality ns:m.0d060g
}