Was M4 edited by M5 , produced by M3 's child , and written by a Canadian male art director
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.0d060g .
?x1 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent M3 .
M4 ns:film.film.edited_by M5 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M4 ns:film.film.written_by ?x0
}