---
title: "CFBitVectorGetCount(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfbitvectorgetcount(_:)"
---

# CFBitVectorGetCount(_:)

Returns the number of bit values in a bit vector.

## Declaration

```swift
func CFBitVectorGetCount(_ bv: CFBitVector!) -> CFIndex
```

## Parameters

- `bv`: The bit vector to examine.

## Return Value

Return Value The current size of bv.

## See Also

### Getting Information About a Bit Vector

- [CFBitVectorContainsBit(_:_:_:)](corefoundation/cfbitvectorcontainsbit(_:_:_:).md)
- [CFBitVectorGetBitAtIndex(_:_:)](corefoundation/cfbitvectorgetbitatindex(_:_:).md)
- [CFBitVectorGetBits(_:_:_:)](corefoundation/cfbitvectorgetbits(_:_:_:).md)
- [CFBitVectorGetCountOfBit(_:_:_:)](corefoundation/cfbitvectorgetcountofbit(_:_:_:).md)
- [CFBitVectorGetFirstIndexOfBit(_:_:_:)](corefoundation/cfbitvectorgetfirstindexofbit(_:_:_:).md)
- [CFBitVectorGetLastIndexOfBit(_:_:_:)](corefoundation/cfbitvectorgetlastindexofbit(_:_:_:).md)
