Did M2 employ a star of M1 , employ M3 , and employ a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
M2 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M2 ns:business.employer.employees/ns:business.employment_tenure.person ?x1 .
M2 ns:business.employer.employees/ns:business.employment_tenure.person M3
}