Were M2 and M5 employed by M3 and M4 , employed by M1 's producer , and employed by a film distributor
SELECT count(*) WHERE {
?x0 a ns:film.film_distributor .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:people.person.employment_history/ns:business.employment_tenure.company ?x0 .
M2 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
M2 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
M2 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 ?x1 .
M5 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
M5 ns:people.person.employment_history/ns:business.employment_tenure.company M4
}