Were M2 , M3 , M4 , and M5 written by a film producer that M1 employed
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.written_by ?x0
}