---
title: count
framework: coremedia
role: symbol
role_heading: Instance Property
path: coremedia/cmreadonlydatablockbuffer/count
---

# count

The number of bytes in the block buffer.

## Declaration

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

## Discussion

Discussion This count is the sum of the number of bytes in each memory block and buffer reference held in the block buffer. Note that the buffer references may hold more data than referenced by this block buffer. This block buffer presents a contiguous range of offsets from 0 to count.
