Was M1 written by a production company 's founder 's parent and written by M2 and M3
SELECT count(*) WHERE {
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
?x1 ns:organization.organization_founder.organizations_founded ?x2 .
?x2 a ns:film.production_company .
M1 ns:film.film.written_by ?x0 .
M1 ns:film.film.written_by M2 .
M1 ns:film.film.written_by M3
}