Were M3 and M5 directed by M4 and directed by a Canadian actor that M2 starred
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.directed_by M4 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.directed_by M4
}