NodeList has 3 elements but behaves like it has 2 elements

I’m having the weirdest output where the debugger says the Node has 2 children when it has 3. Even the in the image I post here I see some incongruences, where it says the length of the object is 3 but for some reason, it prints that the length is 2.

enter image description here

Has anyone encountered this behaviour ?

Thanks for your help