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