The Count property returns the number of SQLNamespaceCommand objects in the SQLNamespaceCommands collection object.
object.Count
collection
Expression that evaluates to an object in the Applies To list
Long
Read-only
HRESULT GetCount(long *pRetVal);