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