Were M3 and M4 written by a person 's parent and executive produced by a Swedish film producer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:people.person.nationality ns:m.0d0vqn .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 .
?x2 a ns:people.person .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.written_by ?x1
}