quantlib.position.Position.__len__

classmethod Position.__len__()

Return the number of members (no aliases)