Was M3 produced by a production company that employed M1 and M2 and written by M4 , M5 , M6 , and M7
SELECT count(*) WHERE {
?x0 a ns:film.production_company .
?x0 ns:business.employer.employees/ns:business.employment_tenure.person M1 .
?x0 ns:business.employer.employees/ns:business.employment_tenure.person M2 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.written_by M4 .
M3 ns:film.film.written_by M5 .
M3 ns:film.film.written_by M6 .
M3 ns:film.film.written_by M7
}