public uint GetCollapseCount() { uint ret = XapianPINVOKE.MSetIterator_GetCollapseCount(swigCPtr); if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve(); return ret; }