question: Were M2 , M3 , and M4 edited by a writer and producer of M1 and edited by a actor
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x1 ns:film.producer.film|ns:film.production_company.films M1 .
  ?x1 ns:film.writer.film M1 .
  M2 ns:film.film.edited_by ?x0 .
  M2 ns:film.film.edited_by ?x1 .
  M3 ns:film.film.edited_by ?x0 .
  M3 ns:film.film.edited_by ?x1 .
  M4 ns:film.film.edited_by ?x0 .
  M4 ns:film.film.edited_by ?x1
  }