Was M2 produced by , directed by , and written by M1 's employer 's Canadian employee
SELECT count(*) WHERE {
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x0 ns:people.person.nationality ns:m.0d060g .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person M1 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.written_by ?x0
}