Was M2 produced by a character , directed by M3 , and executive produced by a actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 a ns:fictional_universe.fictional_character .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}