# Security rule audit: Get resource count

Information note**LOCKED.**   
  
This API is extremely reliable and will not be broken unless absolutely necessary.

## Method

POST

## Path

/qrs/systemrule/security/audit/countresources

## Description

Get the number of resources available in the repository database. Use the filter functionality in the body to filter the returned resources.

## Body

```
AuditCountParameters:
{
   "resourceType": "App" // or any type at all,
   "ResourceFilter": "resource filter [string]" 
}
```

## Return value

`int`

## Optional parameters

-