Pagination in GridView with only Next and Previous Button, wihtout totalItemCount and itemCount

Hello,

Is it possible to create pagination in GridView with only Nex and Previous buttons, and without number buttons?
I don’t need the totalItemCount and itemCount info, because there are more than 20 million records and counting the results, is eating too many resources and takes a lot of time, so I just want to leave the option for the user to go back and forth.

See layout property, specifically summary.