Was a producer of M0 a actor of M1 's star
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 ns:film.actor.film/ns:film.performance.film M1
}