I am building a CRM widget where part of the functionality is to pull the Contact record from the input Phone number.
We are aware of the SearchRecord js sdk api that can be used.
However this API will search based on the page, so we need to know the total number of records available to implement the pagination.
How do we get the total number of records from the module ?