---
title: "Get the number of the resource"
method: GET
path: "/drives/{driveId}/root/children/$count"
tags: ["drives.driveItem"]
---

# Get the number of the resource

`GET /drives/{driveId}/root/children/$count`

## Path parameters

- `driveId` string, required

## Query parameters

- `$search` string
- `$filter` string

## Response `2XX`

The count of the resource

## Other responses

- `default` — error

---

[API](https://skmtc.net/ballerina-platform/apis/files.md) · [All operations](https://skmtc.net/ballerina-platform/apis/files/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ballerina-platform/files/revisions/c34150e97737/schema)
