# Sandbox.GameObjectDirectory.ComponentCount

```csharp
int ComponentCount { get; set; }
```

Declared in [Sandbox.GameObjectDirectory](/api/Sandbox.GameObjectDirectory).
Assembly: `Sandbox.Engine`.
