Create a pagination functionality for the list in Transaction History, and also show the total number of items.