Was M2 written by M3 , M4 , M5 , and M6 , written by a person , and directed by M1 's employee
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.written_by ?x0 .
M2 ns:film.film.written_by M3 .
M2 ns:film.film.written_by M4 .
M2 ns:film.film.written_by M5 .
M2 ns:film.film.written_by M6
}