TotalCount for connections in graphql

Topic summary

Request to retrieve a total count for paginated connections in the Shopify GraphQL Admin API. Example: subscriptionContracts does not return the overall number of contracts. The suggested enhancement is to include a totalCount field on all connections, alongside existing edges, nodes, and pageInfo fields (the common GraphQL connection pattern). No guidance, workaround, or official response is provided. Status: unanswered/feature request; whether and how to obtain a total count remains unresolved.

Summarized with AI on December 13. AI used: gpt-5.

Hello, is it possible to get total count of some connections with GraphQl admin api? for example subscriptionContracts query doesn’t return information about total contracts count. Would be nice to just add extra field for all connections: totalCount, edges, nodes, pageInfo