Changed length() return annotation

Small fix but IDE's will like this.