OrderOfScheme

OrderOfScheme(R) returns the order of R, namely $\vert X\vert$.