Did M2 and M4 employ M3 and employ a person that wrote and directed M1
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film M1 .
?x0 ns:film.writer.film M1 .
M2 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M2 ns:business.employer.employees/ns:business.employment_tenure.person M3 .
M4 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M4 ns:business.employer.employees/ns:business.employment_tenure.person M3
}