Was M1 written by a screenwriter 's child , directed by M3 , and executive produced by M2
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.writer .
M1 ns:film.film.directed_by M3 .
M1 ns:film.film.executive_produced_by M2 .
M1 ns:film.film.written_by ?x0
}