Open pagination widget configuration. In Appearance tab, set paging style to custom. Then in Custom tab, you can add required pagination items. There are various text placeholders which can be used to change the displayed text along with previous/next buttons.
{firstItem} {lastItem} {totalItems} {currentPageNumber} {totalPages}
For “1 of 2”, you can use this text with placeholders: {currentPageNumber} of {totalPages}
The default “1 to 2 of 2” would be: {firstItem} to {lastItem} of {totalItems}
You can move these added pagination items (buttons or text) to adjust how they are displayed.
Typically its first button, previous button, text, next button, last button.
When using custom paging, don’t forget to add buttons to move between pages along with your custom text.