Were M2 and M5 edited by M3 , executive produced by a art director that executive produced M1 , and directed by M4
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:film.producer.films_executive_produced 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
}