Was a screenwriter employed by M2 's employer , employed by M1 , and employed by a film distributor
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x2 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person M2 .
?x2 a ns:film.film_distributor
}