Was M3 edited and produced by a Canadian costume designer that wrote M1
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}