The GetCount method of the IEnumXXXX interface returns the number of elements in the enumerator's list.
HRESULT GetCount (ULONG *pcelt)
S_OK Success.