Changed __len__ to len()