Were M4 and M6 directed by a character that wrote M1 , M2 , and M3 and edited by M5
SELECT count(*) WHERE {
?x0 a ns:fictional_universe.fictional_character .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.edited_by M5 .
M6 ns:film.film.directed_by ?x0 .
M6 ns:film.film.edited_by M5
}