--- title: Count - GraphQL Admin description: Details for count of elements. api_version: 2024-10 api_name: admin type: object api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Count' md: 'https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Count.txt' --- # Count object Details for count of elements. ## Fields * count [Int!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/Int) non-null The count of elements. * precision [Count​Precision!](https://shopify.dev/docs/api/admin-graphql/2024-10/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/2024-10/objects/Article#field-commentsCount) * {}[Blog.articlesCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Blog#field-articlesCount) * {}[Channel.productsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Channel#field-productsCount) * {}[Collection.availablePublicationsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Collection#field-availablePublicationsCount) * {}[Collection.productsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Collection#field-productsCount) * {}[Collection.resourcePublicationsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Collection#field-resourcePublicationsCount) * {}[Company.contactsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Company#field-contactsCount) * {}[Company.locationsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Company#field-locationsCount) * {}[Company.ordersCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Company#field-ordersCount) * {}[CompanyLocation.catalogsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/CompanyLocation#field-catalogsCount) * {}[CompanyLocation.ordersCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/CompanyLocation#field-ordersCount) * {}[CompanyLocationCatalog.companyLocationsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/CompanyLocationCatalog#field-companyLocationsCount) * {}[CustomerJourneySummary.momentsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/CustomerJourneySummary#field-momentsCount) * {}[DeliveryLocationGroup.locationsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/DeliveryLocationGroup#field-locationsCount) * {}[DeliveryProfile.productVariantsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/DeliveryProfile#field-productVariantsCount) * {}[DiscountCodeApp.codesCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/DiscountCodeApp#field-codesCount) * {}[DiscountCodeBasic.codesCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/DiscountCodeBasic#field-codesCount) * {}[DiscountCodeBxgy.codesCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/DiscountCodeBxgy#field-codesCount) * {}[DiscountCodeFreeShipping.codesCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/DiscountCodeFreeShipping#field-codesCount) * {}[FulfillmentOrderLocationForMove.availableLineItemsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/FulfillmentOrderLocationForMove#field-availableLineItemsCount) * {}[FulfillmentOrderLocationForMove.unavailableLineItemsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/FulfillmentOrderLocationForMove#field-unavailableLineItemsCount) * {}[InventoryItem.locationsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/InventoryItem#field-locationsCount) * {}[Market.catalogsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Market#field-catalogsCount) * {}[Order.fulfillmentsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Order#field-fulfillmentsCount) * {}[Order.transactionsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Order#field-transactionsCount) * {}[PriceRule.discountCodesCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/PriceRule#field-discountCodesCount) * {}[Product.availablePublicationsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Product#field-availablePublicationsCount) * {}[Product.mediaCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Product#field-mediaCount) * {}[Product.resourcePublicationsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Product#field-resourcePublicationsCount) * {}[Product.sellingPlanGroupsCount](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Product#field-sellingPlanGroupsCount) *** ## Queries * [abandoned​Checkouts​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/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/2024-10/queries/blogsCount) query Count of blogs. * [catalogs​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/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/2024-10/queries/collectionsCount) query Count of collections. Limited to a maximum of 10000 by default. * [companies​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/companiesCount) query The number of companies for a shop. * [customers​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/customersCount) query The number of customers. * [discount​Codes​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/discountCodesCount) query The total number of discount codes for the shop. * [discount​Nodes​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/discountNodesCount) query The total number of discounts for the shop. Limited to a maximum of 10000 by default. * [events​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/eventsCount) query Count of events. Limited to a maximum of 10000. * [gift​Cards​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/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/2024-10/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/2024-10/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/2024-10/queries/pagesCount) query Count of pages. * [pending​Orders​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/pendingOrdersCount) query The number of pendings orders. Limited to a maximum of 10000. * [products​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/productsCount) query Count of products. * [product​Variants​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/productVariantsCount) query Count of product variants. * [publications​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/publicationsCount) query Count of publications. * [published​Products​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/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/2024-10/queries/segmentsCount) query The number of segments for a shop. * [url​Redirects​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/urlRedirectsCount) query Count of redirects. Limited to a maximum of 10000 by default. * [webhook​Subscriptions​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/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/2024-10/queries/Count) * \[blogs​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[catalogs​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[collections​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[companies​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[customers​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[discount​Codes​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[discount​Nodes​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[events​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[gift​Cards​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[locations​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[orders​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[pages​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[pending​Orders​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[product​Variants​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[products​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[publications​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[published​Products​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[segments​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[url​Redirects​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count) * \[webhook​Subscriptions​Count](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/Count)