Valency

Valency(R, i) returns the valency of the i-th relation of R, namely $p_{ii^*}^0$.