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