Did a cinematographer executive produce a film written , produced , and edited by M3 and write M1
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.writer.film M1 .
?x1 a ns:film.film .
?x1 ns:film.film.edited_by M3 .
?x1 ns:film.film.produced_by|ns:film.film.production_companies M3 .
?x1 ns:film.film.written_by M3
}