Added __len__ as abstract.