Instantsearch (React) — Getting total record count in index (not just nbHits)

As stated in the title, is there a way to get the total record count in the index and not just the count for records that match the query?