---
title: getCount
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/osdictionary/getcount
---

# getCount

Returns count of members in dictionary.

## Declaration

```occ
virtual uint32_t getCount() const;
```

## Return Value

Return Value Count of members in dictionary.

## See Also

### Inspecting a Dictionary

- [ensureCapacity](driverkit/osdictionary/ensurecapacity.md)
- [getCapacity](driverkit/osdictionary/getcapacity.md)
- [OSDictionaryGetCount](driverkit/osdictionarygetcount.md)
