How to hide a panel if no facet items are available ?(instantsearch)

With instantsearch.js and panel, i want to hide a panel if no facet items are available.
With hidden option param., i can t find a way to get the number of facet option of the current panel

It’s OK, I’ve found the solution: