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