Was M0 a Canadian person that M5 was directed by , M2 was written by , and M4 starred
SELECT count(*) WHERE {
M0 a ns:people.person .
M0 ns:film.actor.film/ns:film.performance.film M4 .
M0 ns:film.director.film M5 .
M0 ns:film.writer.film M2 .
M0 ns:people.person.nationality ns:m.0d060g
}