Was a screenwriter 's actor a male star of M0
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 a ns:film.writer
}