Was M2 produced by M3 and directed by a person 's male actor
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 a ns:people.person .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M3
}