---
title: scalarCount
framework: swift
role: symbol
role_heading: Instance Property
path: swift/int32/simd16storage/scalarcount
---

# scalarCount

The number of scalars, or elements, in the vector.

## Declaration

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