question: Did M3 's producer 's actor play M0 , play M1 , and play M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
  ?x0 ns:film.actor.film/ns:film.performance.character M0 .
  ?x0 ns:film.actor.film/ns:film.performance.character M1 .
  ?x0 ns:film.actor.film/ns:film.performance.character M2 .
  ?x1 ns:film.producer.film|ns:film.production_company.films M3
  }