# GetTypeCount()

> Gets the total number of components managed by the TypeManager.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public static int GetTypeCount()
```

### Returns

| Type                                                       | Description                                                                                                                         |
| ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Returns the total number of components managed by the [TypeManager](/engine/7000.0/script-reference/unity/entities/typemanager.md). |
