Did M1 star M2 and star a film producer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
M1 ns:film.film.starring/ns:film.performance.actor ?x0 .
M1 ns:film.film.starring/ns:film.performance.actor M2
}