NYYU Logo
APIUser

Get Users Count

Retrieve the total count of users in the system

Get Users Count

ADMIN

Retrieve the total number of users in the system for statistics and dashboard metrics.

Query

GraphQL Schema

getUsersCount: Int

Parameters

This query requires no parameters.

Example Usage

query {
  getUsersCount
}

Response:

{
  "data": {
    "getUsersCount": 15247
  }
}

Use Cases

Dashboard Statistics

Display total user count in admin dashboards and analytics panels

Pagination Calculation

Calculate total pages for user listings and pagination controls