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