Changed method name to length()