Was M1 a male person that played M3 and played a film
SELECT count(*) WHERE {
?x0 a ns:film.film .
M1 a ns:people.person .
M1 ns:film.actor.film/ns:film.performance.character ?x0 .
M1 ns:film.actor.film/ns:film.performance.character M3 .
M1 ns:people.person.gender ns:m.05zppz
}