Specialization of the adapter Rank for instances of PPerm.
Returns the rank of x.
x
The rank of a PPerm is the number of points in the image.