---
title: functionCount
framework: accelerate
role: symbol
role_heading: Instance Property
path: accelerate/bnnsgraph/context/functioncount
---

# functionCount

The number of input arguments for the given function argument.

## Declaration

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

## See Also

### Related Documentation

- [BNNSGraphGetFunctionCount(_:)](accelerate/bnnsgraphgetfunctioncount(_:).md)

### Specifying and querying a graph context’s properties

- [setDynamicShapes(_:forFunction:)](accelerate/bnnsgraph/context/setdynamicshapes(_:forfunction:).md)
- [BNNSGraph.Shape](accelerate/bnnsgraph/shape.md)
- [argumentCount(forFunction:)](accelerate/bnnsgraph/context/argumentcount(forfunction:).md)
- [argumentNames(forFunction:)](accelerate/bnnsgraph/context/argumentnames(forfunction:).md)
- [argumentPosition(forFunction:argument:)](accelerate/bnnsgraph/context/argumentposition(forfunction:argument:).md)
- [functionNames](accelerate/bnnsgraph/context/functionnames.md)
- [checkForNaNsAndInfinities](accelerate/bnnsgraph/context/checkfornansandinfinities.md)
