get:
  tags:
    - categories
  summary: get topic count
  description: This operation returns the count of topics in a given category (excluding its subcategories)
  parameters:
    - in: path
      name: cid
      schema:
        type: string
      required: true
      description: a valid category id, `0` for global privileges, `admin` for admin privileges
      example: 1
  responses:
    '200':
      description: categories count successfully retrieved
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                $ref: ../../../components/schemas/Status.yaml#/Status
              response:
                type: object
                properties:
                  count:
                    type: number