Were M2 , M4 , M5 , and M6 produced by a production company , edited by M3 , and executive produced by a film editor
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x1 a ns:film.production_company .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M4 ns:film.film.edited_by M3 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M5 ns:film.film.edited_by M3 .
M5 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M6 ns:film.film.edited_by M3 .
M6 ns:film.film.executive_produced_by ?x0 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}