Were M2 and M5 executive produced by a film producer , edited by M3 and M4 , and directed by a person
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 a ns:people.person .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.edited_by M4 .
M2 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.directed_by ?x1 .
M5 ns:film.film.edited_by M3 .
M5 ns:film.film.edited_by M4 .
M5 ns:film.film.executive_produced_by ?x0
}