Did M3 's actor write M0 , executive produce M1 , executive produce M2 , and direct M4
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character M3 .
?x0 ns:film.director.film M4 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.writer.film M0
}