size

returns number of elements.

Source


def size(self):
    return len(self)