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