size function

Gets or sets the size of a permutation