Were M2 and M3 written by a film director whose employer employed M1
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person M1 .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.written_by ?x0
}