question: Was M0 a film that starred , was directed by , and was written by M2 and M3
query: SELECT count(*) WHERE {
  M0 a ns:film.film .
  M0 ns:film.film.directed_by M2 .
  M0 ns:film.film.directed_by M3 .
  M0 ns:film.film.starring/ns:film.performance.actor M2 .
  M0 ns:film.film.starring/ns:film.performance.actor M3 .
  M0 ns:film.film.written_by M2 .
  M0 ns:film.film.written_by M3
  }