--- title: segmentsCount - GraphQL Admin description: The number of segments for a shop. Limited to a maximum of 10000 by default. api_version: 2025-10 api_name: admin type: query api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/queries/segmentscount md: https://shopify.dev/docs/api/admin-graphql/latest/queries/segmentscount.md --- # segments​Count query The number of segments for a shop. Limited to a maximum of 10000 by default. ## Arguments * limit [Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int) Default:10000 The upper bound on count value before returning a result. Use `null` to have no limit. *** ## Possible returns * Count [Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count) Details for count of elements. *** ## Examples * ### segmentsCount reference ## Query Reference ```graphql { segmentsCount { # segmentsCount fields } } ```