Did a character write M1 , M2 , and M3 , direct M6 , and write M4 and M5
SELECT count(*) WHERE {
?x0 a ns:fictional_universe.fictional_character .
?x0 ns:film.director.film M6 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:film.writer.film M4 .
?x0 ns:film.writer.film M5
}