Did a male film director that M0 was written by write , edit , and direct M2 's sequel
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x0 ns:film.editor.film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 ns:film.film.prequel M2
}