Was M2 executive produced by a screenwriter , directed by M3 , and edited by a film director
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 a ns:film.director .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.executive_produced_by ?x0
}