Added a way to just get the length of an element and not call a method.