Were M1 and M5 employed by M2 , M3 , and M4 and employed by a production company 's child
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.production_company .
M1 ns:people.person.employment_history/ns:business.employment_tenure.company ?x0 .
M1 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
M1 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
M1 ns:people.person.employment_history/ns:business.employment_tenure.company M4 .
M5 ns:people.person.employment_history/ns:business.employment_tenure.company ?x0 .
M5 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
M5 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
M5 ns:people.person.employment_history/ns:business.employment_tenure.company M4
}