github.com/MontFerret/ferret@v0.18.0/e2e/tests/static/element/children/count_by_xpath.fql (about)

     1  LET url = @lab.cdn.static + '/list.html'
     2  LET doc = DOCUMENT(url)
     3  
     4  LET len = ELEMENTS_COUNT(doc, X("//*[contains(@class, 'track-details')]"))
     5  
     6  T::EQ(len, 20)
     7  
     8  RETURN NONE