question: Were M2 and M3 directed by M1 's director and editor and written by a actor that M0 was played by
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.character M0 .
  ?x1 ns:film.director.film M1 .
  ?x1 ns:film.editor.film M1 .
  M2 ns:film.film.directed_by ?x1 .
  M2 ns:film.film.written_by ?x0 .
  M3 ns:film.film.directed_by ?x1 .
  M3 ns:film.film.written_by ?x0
  }