Шпаргалка XPath с помощью узла

# Use them inside functions
//ul[count(li) > 2]
//ul[count(li[@class='hide']) > 0]
itsvinayak