Don't have Telegram yet? Try it now!
https://nishantrana.me/2020/07/30/retrievetotalrecordcount-function-to-get-the-total-number-of-records-in-dynamics-365/
RetrieveTotalRecordCount function to get the total number of records in Dynamics 365