---
title: count
framework: accelerate
role: symbol
role_heading: Instance Property
path: accelerate/vimage/pixelbuffer/count
---

# count

The total number of pixels multiplied by the number of channels in the buffer, including any row padding.

## Declaration

```swift
var count: Int { get }
```

## See Also

### Inspecting a pixel buffer

- [width](accelerate/vimage/pixelbuffer/width.md)
- [height](accelerate/vimage/pixelbuffer/height.md)
- [size](accelerate/vimage/pixelbuffer/size.md)
- [channelCount](accelerate/vimage/pixelbuffer/channelcount.md)
- [rowStride](accelerate/vimage/pixelbuffer/rowstride.md)
- [byteCountPerPixel](accelerate/vimage/pixelbuffer/bytecountperpixel.md)
- [array](accelerate/vimage/pixelbuffer/array.md)
