Were M2 and M5 directed by M4 , directed by a employee of M0 and M1 , and executive produced by M3
SELECT count(*) WHERE {
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M0 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.directed_by M4 .
M2 ns:film.film.executive_produced_by M3 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.directed_by M4 .
M5 ns:film.film.executive_produced_by M3
}