---
title: "Count features in a table"
method: GET
path: "/v1/spatial/tables/{tableName}/features/count"
tags: ["Feature Management"]
---

# Count features in a table

`GET /v1/spatial/tables/{tableName}/features/count`

## Request

- Base URL: `https://api.cloud.precisely.com`
- URL: `https://api.cloud.precisely.com/v1/spatial/tables/{tableName}/features/count`
- Auth: one of:
  - `bearerAuth` (a scheme the document does not define)
  - `ApiKeyAuth` (a scheme the document does not define)

Returns the total number of features present in the specified named table.

## Headers

- `X-Request-Id` string

## Response `200`

Feature count retrieved successfully

- FeatureCountResponse
  - `tableName` string
  - `featureCount` integer

## Other responses

- `400`: Invalid request
- `401`: Unauthorized: Invalid token
- `403`: Forbidden
- `404`: Table not found
- `429`: Too many requests
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/precisely/apis/feature-api.md) · [All operations](https://skmtc.dev/precisely/apis/feature-api/llms.txt) · [OpenAPI document](https://skmtc.dev/precisely/apis/feature-api/revisions/6dc26f89c0aa?raw)
