#import "../fragments/count.fragment.graphql"

query getInstanceCounts {
  projects: instanceStatisticsMeasurements(identifier: PROJECTS, first: 1) {
    nodes {
      ...Count
    }
  }
  groups: instanceStatisticsMeasurements(identifier: GROUPS, first: 1) {
    nodes {
      ...Count
    }
  }
  users: instanceStatisticsMeasurements(identifier: USERS, first: 1) {
    nodes {
      ...Count
    }
  }
  issues: instanceStatisticsMeasurements(identifier: ISSUES, first: 1) {
    nodes {
      ...Count
    }
  }
  mergeRequests: instanceStatisticsMeasurements(identifier: MERGE_REQUESTS, first: 1) {
    nodes {
      ...Count
    }
  }
  pipelines: instanceStatisticsMeasurements(identifier: PIPELINES, first: 1) {
    nodes {
      ...Count
    }
  }
}
