Was M3 executive produced and edited by a film producer that executive produced M1 and directed M2
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.director.film M2 .
?x0 ns:film.producer.films_executive_produced M1 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.executive_produced_by ?x0
}