# int Ship::UnitsCount()

[Family: Ship](/imperivm/en/CKS/familias/ship/)

## Exact signature

```text
int Ship::UnitsCount()
```

## Description

Ship[field] is a Holder handle, and this function returns that Holder's current occupancy at [field].

## Parameters and return type

**Return type:** `int`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

This signature takes no additional arguments.

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-6d3a2898a76d36.md)
- [JSON](/imperivm/CKS/api/entries/api-6d3a2898a76d36?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
