getTotalPageCount() returns 0 for a Dataset inspite of the dataset having entries.

Hi Anastasiia thank you very much for replying to my query. I’ll debug my code according to the article and see if that works. Thanks Again.