--- title: Count - GraphQL Admin description: Details for count of elements. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/objects/Count md: https://shopify.dev/docs/api/admin-graphql/latest/objects/Count.md --- # Count object Details for count of elements. ## Fields * count [Int!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int) non-null The count of elements. * precision [Count​Precision!](https://shopify.dev/docs/api/admin-graphql/latest/enums/CountPrecision) non-null The count's precision, or the exactness of the value. *** ## Map ### Fields with this object * {}[Article.commentsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article#field-Article.fields.commentsCount) * {}[Blog.articlesCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Blog#field-Blog.fields.articlesCount) * {}[Channel.productsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel#field-Channel.fields.productsCount) * {}[Collection.availablePublicationsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection#field-Collection.fields.availablePublicationsCount) * {}[Collection.productsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection#field-Collection.fields.productsCount) * {}[Collection.resourcePublicationsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection#field-Collection.fields.resourcePublicationsCount) * {}[Company.contactsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Company#field-Company.fields.contactsCount) * {}[Company.locationsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Company#field-Company.fields.locationsCount) * {}[Company.ordersCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Company#field-Company.fields.ordersCount) * {}[CompanyLocation.catalogsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation#field-CompanyLocation.fields.catalogsCount) * {}[CompanyLocation.ordersCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation#field-CompanyLocation.fields.ordersCount) * {}[CompanyLocationCatalog.companyLocationsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocationCatalog#field-CompanyLocationCatalog.fields.companyLocationsCount) * {}[CustomerJourneySummary.momentsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerJourneySummary#field-CustomerJourneySummary.fields.momentsCount) * {}[DeliveryLocationGroup.locationsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryLocationGroup#field-DeliveryLocationGroup.fields.locationsCount) * {}[DeliveryProfile.productVariantsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryProfile#field-DeliveryProfile.fields.productVariantsCount) * {}[DiscountCodeApp.codesCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeApp#field-DiscountCodeApp.fields.codesCount) * {}[DiscountCodeBasic.codesCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBasic#field-DiscountCodeBasic.fields.codesCount) * {}[DiscountCodeBxgy.codesCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBxgy#field-DiscountCodeBxgy.fields.codesCount) * {}[DiscountCodeFreeShipping.codesCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeFreeShipping#field-DiscountCodeFreeShipping.fields.codesCount) * {}[FulfillmentOrderLocationForMove.availableLineItemsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrderLocationForMove#field-FulfillmentOrderLocationForMove.fields.availableLineItemsCount) * {}[FulfillmentOrderLocationForMove.unavailableLineItemsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrderLocationForMove#field-FulfillmentOrderLocationForMove.fields.unavailableLineItemsCount) * {}[InventoryItem.locationsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryItem#field-InventoryItem.fields.locationsCount) * {}[InventoryShipment.lineItemsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipment#field-InventoryShipment.fields.lineItemsCount) * {}[InventoryTransfer.lineItemsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryTransfer#field-InventoryTransfer.fields.lineItemsCount) * {}[Market.catalogsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market#field-Market.fields.catalogsCount) * {}[MarketCatalog.marketsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/MarketCatalog#field-MarketCatalog.fields.marketsCount) * {}[Order.fulfillmentsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.fulfillmentsCount) * {}[Order.transactionsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.transactionsCount) * {}[PriceRule.discountCodesCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRule#field-PriceRule.fields.discountCodesCount) * {}[Product.availablePublicationsCount](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product#field-Product.fields.availablePublicationsCount) *** ## Queries * [abandoned​Checkouts​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/abandonedCheckoutsCount) query Returns the count of abandoned checkouts for the given shop. Limited to a maximum of 10000 by default. * [blogs​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/blogsCount) query Count of blogs. Limited to a maximum of 10000 by default. * [catalogs​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/catalogsCount) query The count of catalogs belonging to the shop. Limited to a maximum of 10000 by default. * [collections​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/collectionsCount) query Count of collections. Limited to a maximum of 10000 by default. * [companies​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/companiesCount) query The number of companies for a shop. Limited to a maximum of 10000 by default. * [customers​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/customersCount) query The number of customers. Limited to a maximum of 10000 by default. * [discount​Codes​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/discountCodesCount) query The total number of discount codes for the shop. Limited to a maximum of 10000 by default. * [discount​Nodes​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/discountNodesCount) query The total number of discounts for the shop. Limited to a maximum of 10000 by default. * [draft​Orders​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/draftOrdersCount) query Returns the number of draft orders that match the query. Limited to a maximum of 10000 by default. * [events​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/eventsCount) query Count of events. Limited to a maximum of 10000. * [gift​Cards​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/giftCardsCount) query The total number of gift cards issued for the shop. Limited to a maximum of 10000 by default. * [locations​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/locationsCount) query Returns the count of locations for the given shop. Limited to a maximum of 10000 by default. * [orders​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/ordersCount) query Returns the count of orders for the given shop. Limited to a maximum of 10000 by default. * [pages​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/pagesCount) query Count of pages. Limited to a maximum of 10000 by default. * [pending​Orders​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/pendingOrdersCount) query The number of pendings orders. Limited to a maximum of 10000. * [products​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/productsCount) query Count of products. Limited to a maximum of 10000 by default. * [product​Variants​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/productVariantsCount) query Count of product variants. Limited to a maximum of 10000 by default. * [publications​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/publicationsCount) query Count of publications. Limited to a maximum of 10000 by default. * [published​Products​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/publishedProductsCount) query Returns a count of published products by publication ID. Limited to a maximum of 10000 by default. * [segments​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/segmentsCount) query The number of segments for a shop. Limited to a maximum of 10000 by default. * [url​Redirects​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/urlRedirectsCount) query Count of redirects. Limited to a maximum of 10000 by default. * [webhook​Subscriptions​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/webhookSubscriptionsCount) query The count of webhook subscriptions. Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). Limited to a maximum of 10000 by default. *** ## \Count Queries ### Queried by * \[abandoned​Checkouts​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[blogs​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[catalogs​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[collections​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[companies​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[customers​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[discount​Codes​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[discount​Nodes​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[draft​Orders​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[events​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[gift​Cards​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[locations​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[orders​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[pages​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[pending​Orders​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[products​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[product​Variants​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[publications​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[published​Products​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[segments​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[url​Redirects​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count) * \[webhook​Subscriptions​Count](https://shopify.dev/docs/api/admin-graphql/latest/queries/Count)