Forum Academy Marketplace Showcase Pricing Features

Group by field list of text

I am trying to make a facet, to be able to filter the information that I bring from Algolia. My problem is the following, I want to do field grouping, I could do it with a field called gender, I managed to group and count, but in the case of a field called country, I can’t do it since what type of field is it a text list. This field is fed with information through an API. When trying to do the grouping, the system does not detect it so it must be that it cannot be done with lists, the groupings. So I don’t understand how this can be done or if there is any way to do the filtering system.

Thanks