Make .count work properly if :startkey / :endkey are set
Add debugger to Gemfile
Handle the :descending option if a :sort key is given
Support multiple sort fields in searches