Were M1 and M2 distributed by and produced by a screenwriter 's child 's employer
SELECT count(*) WHERE {
?x0 ns:business.employer.employees/ns:business.employment_tenure.person ?x1 .
?x1 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x2 .
?x2 a ns:film.writer .
M1 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}