The Count method is received by the server in an RPC_REQUEST packet. In response, the server MUST return the total number of elements in the VariantCollection instance variable.
[propget] HRESULT Count( [out, retval] long* pCount );
pCount: A pointer to a long that contains the number of elements in the VariantCollection instance variable.
Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific error HRESULT on failure.
When processing this call, the server MUST follow these guidelines:
The pCount output parameter MUST be set to the number of elements in the VariantCollection instance variable.