Returns the number of documents in the current results page.
The length is the number of documents in the current page. This may be different than the pageSize, which is defined by the limit() function.
length
pageSize
limit()
You navigate through pages using the prev() and next() functions.
prev()
next()
let resultLength = results.length; // 20