ST_NumInteriorRing — Return the number of interior rings of a polygon in the geometry. Synonym for ST_NumInteriorRings.
integer ST_NumInteriorRing(geometry a_polygon);
integer ST_NumInteriorRing(
)
ST_NumInteriorRings