Is there a way to read the search resultresults count in scriban undera Scriban template in a rendering variant of SearchResult in SXA?
I have a requirement that if the search results count is less than 6 the result in sxa,should be rendered on the page - otherwise we should be displaying a link so that based on searchthe user can navigate to a page where we will display all the results.
I decided to achieve it thru Scriban by determining the result count I can show different content inand decide whether to render the search result? or link.