Was M2 directed by a film producer and executive produced by M0 's writer , cinematographer , and star
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.writer.film M0 .
?x1 a ns:film.producer .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.executive_produced_by ?x0
}