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