Often you may need to obtain some statistics about the index. The two most common needs is to either find out how many records are in the index or to find out how many partitions are in the index.
You may find out either of these by calling ixNumberOfRecordsInIndex or ixGetNumberOfUnoptimizedInsertions respectively.
ixNumberOfRecordsInIndex, ixGetNumberOfUnoptimizedInsertions