Were M2 and M5 founded by M3 , founded by a film director that M1 employed , and founded by M4
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
M2 ns:organization.organization.founders ?x0 .
M2 ns:organization.organization.founders M3 .
M2 ns:organization.organization.founders M4 .
M5 ns:organization.organization.founders ?x0 .
M5 ns:organization.organization.founders M3 .
M5 ns:organization.organization.founders M4
}