Were M2 and M5 executive produced by a employee of M0 and M1 , edited by M3 , and directed by M4
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 M4 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.directed_by M4 .
M5 ns:film.film.edited_by M3 .
M5 ns:film.film.executive_produced_by ?x0
}