You can refer to following steps to enable total number of search result
- Open your SharePoint Online site in SharePoint Designer (or Map the “Display Templates” Folder as a network drive).
- Navigate to the Path: https://Tenant.sharepoint.com/sites/YOURSITE/_catalogs/masterpage/Display Templates/Filters/
- Create a backup copy of the “Filter_Default.html” display template and edit the “Filter_Default.html” in Advanced Mode. You can also create a copy and rename the display template and then apply the template to the search refiner web part.
- Search for: ShowCounts: false, and replace the flag with ShowCounts: true
Here is the article for more details
https://www.sharepointdiary.com/2019/02/show-search-refiners-count-in-sharepoint-online.html
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.