# GetOutputCount()

> Returns the number of PlayableOutput in the graph.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Playables](/engine/6000.6/script-reference/unityengine/playables.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public int GetOutputCount()
```

### Returns

| Type                                                       | Description                                                                                                           |
| ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The number of [PlayableOutput](/engine/6000.6/script-reference/unityengine/playables/playableoutput.md) in the graph. |
