Was M3 executive produced by and directed by a actor that wrote M1 and executive produced M2
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.writer.film M1 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.executive_produced_by ?x0
}