Was M2 produced by a film 's star and written by a employer of M0
SELECT count(*) WHERE {
?x0 ns:business.employer.employees/ns:business.employment_tenure.person M0 .
?x1 ns:film.actor.film/ns:film.performance.film ?x2 .
?x2 a ns:film.film .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M2 ns:film.film.written_by ?x0
}