Was M2 produced by a film editor , written by M3 , and executive produced by a person
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x1 a ns:film.editor .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M2 ns:film.film.written_by M3
}