Was M3 written by , produced by , and directed by a Spanish Canadian producer of M2
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:people.person.nationality ns:m.06mkj .
?x0 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.written_by ?x0
}