Was M3 produced and distributed by a film distributor whose employee was employed by M1 and was employed by M2
SELECT count(*) WHERE {
?x0 a ns:film.film_distributor .
?x0 ns:business.employer.employees/ns:business.employment_tenure.person ?x1 .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
M3 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}