Was M3 produced by M1 's female star 's Spanish child
SELECT count(*) WHERE {
?x0 ns:people.person.nationality ns:m.06mkj .
?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x1 .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:people.person.gender ns:m.02zsn .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}