Was M3 produced by a production company whose founder played M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.production_company .
?x0 ns:organization.organization.founders ?x1 .
?x1 ns:film.actor.film/ns:film.performance.character M1 .
?x1 ns:film.actor.film/ns:film.performance.character M2 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}