[PATCH 8/9] activeds: Implement IADsPathname::GetNumElements().