get:
  operationId: countWorkItems
  tags:
    - Work Items
  summary: Count Work Items
  description: >-
    This gets a count of work items belonging to either the specified user(admin required), or the current user.
  parameters:
    - in: query
      name: ownerId
      schema:
        type: string
      description: ID of the work item owner.
      required: false
      example: ef38f94347e94562b5bb8424a56397d8
  responses:
    '200':
      description: List of work items
      content:
        application/json:
          schema:
            $ref: '../schemas/WorkItemsCount.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '404':
      $ref: '../../v3/responses/404.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'


