Returns the number of interior rings in the curve polygon.
SELECT NEW ST_CurvePolygon('CurvePolygon ( CircularString (2 0, 5 3, 2 0), (3 1, 4 2, 5 1, 3 1) )') .ST_NumInteriorRing()
SQL/MM (ISO/IEC 13249-3: 2006) 8.2.5