Was M3 executive produced by M1 's Mexican child and written by a cinematographer
SELECT count(*) WHERE {
?x0 ns:people.person.nationality ns:m.0b90_r .
?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent M1 .
?x1 a ns:film.cinematographer .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1
}