OsGetNumberOfAttachments