długość elementów z wyświetlaczem brak

var totalHidden = container.querySelectorAll('li[style="display: none;"]').length;
Excited Eagle