GetEntityCount Function

Returns the number of networked entities in the server.

Note: For legacy reasons, this only returns the current count of networked entities (current edicts), rather than total count of current entities.

int GetEntityCount()

Return Value

Number of entities in the server.