I’m trying to do something simple, but unfortunately I don’t get it.
I’m using the autocomplete JS (WordPress) and would like to show a count of results for my specific index.
The Autocomplete searches in multiple indexes and shows the limited (max_suggestions) suggestions. I would like to show the total amount of results found.
I’m trying to do the following:
But unfortunately data doesn’t have the suggestions parameter or something like this.