Was a film that was written by a Canadian producer of M1 and starred M4 , M5 , and M6 M2
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x0 ns:people.person.nationality ns:m.0d060g .
M2 a ns:film.film .
M2 ns:film.film.starring/ns:film.performance.actor M4 .
M2 ns:film.film.starring/ns:film.performance.actor M5 .
M2 ns:film.film.starring/ns:film.performance.actor M6 .
M2 ns:film.film.written_by ?x0
}