List of facets with number of object

Hi All,
i’m try to build my custom front-end application with Algolia Search but, unfurtunally, i can’t receive list of facets with number of object to display. For example:

Snipaste_2022-05-20_09-06-02

i can use “search” method for do it?

Thanks all