Was M0 a Canadian Spanish writer of M1 and M2
SELECT count(*) WHERE {
M0 ns:film.writer.film M1 .
M0 ns:film.writer.film M2 .
M0 ns:people.person.nationality ns:m.06mkj .
M0 ns:people.person.nationality ns:m.0d060g
}