query getPipelineCountByStatus($projectPath: ID!) {
  project(fullPath: $projectPath) {
    totalPipelines: pipelines {
      count
    }
    successfulPipelines: pipelines(status: SUCCESS) {
      count
    }
    failedPipelines: pipelines(status: FAILED) {
      count
    }
  }
}
