Were M2 and M3 written by M1 's employer 's employee and executive produced by a writer of M0
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company ?x2 .
?x2 ns:business.employer.employees/ns:business.employment_tenure.person M1 .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.written_by ?x1 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1
}