Perhaps `$('li').get().length` would better highlight the difference.