question: Did M1 and M5 star M2 , M3 , and M4 and star a screenwriter 's actor
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
  ?x1 a ns:film.writer .
  M1 ns:film.film.starring/ns:film.performance.actor ?x0 .
  M1 ns:film.film.starring/ns:film.performance.actor M2 .
  M1 ns:film.film.starring/ns:film.performance.actor M3 .
  M1 ns:film.film.starring/ns:film.performance.actor M4 .
  M5 ns:film.film.starring/ns:film.performance.actor ?x0 .
  M5 ns:film.film.starring/ns:film.performance.actor M2 .
  M5 ns:film.film.starring/ns:film.performance.actor M3 .
  M5 ns:film.film.starring/ns:film.performance.actor M4
  }