implemented length operator for wrapped tables