# GetBuildCount()

> Gets the total number of builds in the build history.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Build](/engine/6000.7/script-reference/unityeditor/build.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static int GetBuildCount()
```

### Returns

| Type                                                       | Description                |
| ---------------------------------------------------------- | -------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Total count of all builds. |
