Were M5 and M6 written by and directed by a Canadian male British director of M3 and M4
SELECT count(*) WHERE {
?x0 ns:film.director.film M3 .
?x0 ns:film.director.film M4 .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.07ssc .
?x0 ns:people.person.nationality ns:m.0d060g .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.written_by ?x0 .
M6 ns:film.film.directed_by ?x0 .
M6 ns:film.film.written_by ?x0
}