Did a production company that M2 was employed by write M1
SELECT count(*) WHERE {
?x0 a ns:film.production_company .
?x0 ns:business.employer.employees/ns:business.employment_tenure.person M2 .
?x0 ns:film.writer.film M1
}