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