Was M4 written by and directed by a film director whose employer acquired M1 and M2 and acquired M3
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x1 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M1 .
?x1 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M2 .
?x1 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M3 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.written_by ?x0
}