Did a character write M1 , write M2 , and executive produce M3
SELECT count(*) WHERE {
?x0 a ns:fictional_universe.fictional_character .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2
}