--- title: draftOrdersCount - GraphQL Admin description: >- Returns the number of draft orders that match the query. Limited to a maximum of 10000 by default. api_version: 2026-01 api_name: admin type: query api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/latest/queries/draftOrdersCount' md: >- https://shopify.dev/docs/api/admin-graphql/latest/queries/draftOrdersCount.md --- # draft​Orders​Count query Requires `read_draft_orders` access scope. Returns the number of draft orders that match the query. Limited to a maximum of 10000 by default. ## Arguments * limit * query * savedSearchId *** ## Possible returns * Count *** ## Examples * ### draftOrdersCount reference