Did a production company whose male employee influenced M2 and M3 acquire M1 and acquire M5 's producer
SELECT count(*) WHERE {
?x0 a ns:film.production_company .
?x0 ns:business.employer.employees/ns:business.employment_tenure.person ?x1 .
?x0 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired ?x2 .
?x0 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M1 .
?x1 ns:influence.influence_node.influenced M2 .
?x1 ns:influence.influence_node.influenced M3 .
?x1 ns:people.person.gender ns:m.05zppz .
?x2 ns:film.producer.film|ns:film.production_company.films M5
}