Was M0 's prequel directed by a employee of M2 and produced by M1
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
?x0 ns:film.film.sequel M0 .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M2
}