Were M3 and M5 executive produced by M4 and directed by a Canadian American screenwriter 's parent
SELECT count(*) WHERE {
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
?x1 a ns:film.writer .
?x1 ns:people.person.nationality ns:m.09c7w0 .
?x1 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.executive_produced_by M4 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.executive_produced_by M4
}