--- title: segmentsCount - GraphQL Admin description: The number of segments for a shop. api_version: 2025-01 api_name: admin type: query api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/2025-01/queries/segmentsCount' md: 'https://shopify.dev/docs/api/admin-graphql/2025-01/queries/segmentsCount.md' --- # segments​Count query The number of segments for a shop. ## Possible returns * Count [Count](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/Count) A numeric count with precision information indicating whether the count is exact or an estimate. * count [Int!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/Int) non-null The count of elements. * precision [Count​Precision!](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/CountPrecision) non-null The count's precision, or the exactness of the value. *** ## Examples * ### segmentsCount reference ## Query Reference ```graphql { segmentsCount { # segmentsCount fields } } ```