Fix typo
Better error message
Use superclasses 'len'