Was M3 executive produced by a film producer 's child and written by a Spanish person
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 a ns:film.producer .
?x2 a ns:people.person .
?x2 ns:people.person.nationality ns:m.06mkj .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x2
}