---
title: "BNNSGraphGetFunctionCount(_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/bnnsgraphgetfunctioncount(_:)"
---

# BNNSGraphGetFunctionCount(_:)

Returns the number of callable functions in the specified graph.

## Declaration

```swift
func BNNSGraphGetFunctionCount(_ graph: bnns_graph_t) -> Int
```

## Parameters

- `graph`: The compiled graph object.

## Return Value

Return Value The number of callable functions in the specified graph, or SIZE_T_MAX if the query fails.

## See Also

### Querying a graph’s properties

- [BNNSGraphGetArgumentIntents(_:_:_:_:)](accelerate/bnnsgraphgetargumentintents(_:_:_:_:).md)
- [BNNSGraphArgumentIntent](accelerate/bnnsgraphargumentintent.md)
- [BNNSGraphGetArgumentCount(_:_:)](accelerate/bnnsgraphgetargumentcount(_:_:).md)
- [BNNSGraphGetArgumentNames(_:_:_:_:)](accelerate/bnnsgraphgetargumentnames(_:_:_:_:).md)
- [BNNSGraphGetFunctionNames(_:_:_:)](accelerate/bnnsgraphgetfunctionnames(_:_:_:).md)
- [BNNSGraphGetInputCount(_:_:)](accelerate/bnnsgraphgetinputcount(_:_:).md)
- [BNNSGraphGetInputNames(_:_:_:_:)](accelerate/bnnsgraphgetinputnames(_:_:_:_:).md)
- [BNNSGraphGetOutputCount(_:_:)](accelerate/bnnsgraphgetoutputcount(_:_:).md)
- [BNNSGraphGetOutputNames(_:_:_:_:)](accelerate/bnnsgraphgetoutputnames(_:_:_:_:).md)
- [BNNSGraphGetArgumentPosition(_:_:_:)](accelerate/bnnsgraphgetargumentposition(_:_:_:).md)
- [BNNSGraphGetArgumentInterleaveFactors(_:_:_:_:_:)](accelerate/bnnsgraphgetargumentinterleavefactors(_:_:_:_:_:).md)
