OK, this makes sense. Actually the sentence "Select all 100 results" as is done in the code would help, however it seems that total number is not working in the example.