Was a screenwriter that executive produced M1 employed by M2 , employed by M4 's employer , and employed by M3
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person M4
}