Get nbhits with InfiniteHits

Hello,

I’m using Algolia with Gatsby/React InstantSearch, and currently using ConnectInfiniteHits, it’s perfect for what I have to do (list of limited elements and a show more button to increment that list).

But I have a tiny problem if I want to display the total amount of available elements (such as searchResults.nbHits if using ConnectStateResults) and not only the currently displayed elements (hitsPerPage), is there a way to have access to this information with Infinite hits ?

Thank you.