Javascript Htmlcollection Shows Length 0 When Elements

Javascript Htmlcollection Shows Length 0 When Elements