This what kinds of things I'm getting with different selectors & the counts I expect/know I have:

if the selector is h1 or form, the assertion passes. I have one of each.

if the selector is span or div, the assertions also make sense in that I know I have a lot of them, and the counts seem reasonable.

I know there are 19 labels, but the assertion fails, claiming there's only one.

for selectors using attributes, e.g., div.some_class, or #some_id, the filter count is zero, when I know these exist

for some regular (new HTML5) tags, e.g. header & section, the counts are also zero, despite the tags existing

I'd appreciate some help in understanding how to use this component.I've tried lots of variants, including using CssSelector::cssToXPath('div.some_class') and/or $crawler->filterXPath(), but the results are similar, or error out.