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