Was M0 a male Canadian film director that wrote M2 , M3 , M4 , M5 , M6 , and M7
SELECT count(*) WHERE {
M0 a ns:film.director .
M0 ns:film.writer.film M2 .
M0 ns:film.writer.film M3 .
M0 ns:film.writer.film M4 .
M0 ns:film.writer.film M5 .
M0 ns:film.writer.film M6 .
M0 ns:film.writer.film M7 .
M0 ns:people.person.gender ns:m.05zppz .
M0 ns:people.person.nationality ns:m.0d060g
}