I think this can just be `getLength`.  The underlying `list` instance variable is sort of an implementation detail that we don't necessarily want to expose in the name.