Was M3 directed by a Swedish film director and written by M0 '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 M0 .
?x1 a ns:film.director .
?x1 ns:people.person.nationality ns:m.0d0vqn .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.written_by ?x0
}