Did M2 star M0 's executive producer and star a actor 's actor
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x1 ns:film.actor.film/ns:film.performance.character ?x2 .
?x2 a ns:film.actor .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x1
}