# GetNumIssues(IssueCategory)

> Get total number of issues for a specific IssueCategory.

## Definition

* **Type:** Method
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/6000.5/script-reference/unity/projectauditor/editor.md)
* **Assembly:** UnityEditor

```csharp
public int GetNumIssues(IssueCategory category)
```

### Parameters

**** (\[IssueCategory]\(/engine/6000.5/script-reference/unity/projectauditor/editor/issuecategory)): Desired IssueCategory

### Returns

| Type                                                       | Description              |
| ---------------------------------------------------------- | ------------------------ |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Number of project issues |
