Added a Cursor->bufferedCount() function to check for how many results are currently buffered.