### 15.5.5. count

The `count` function returns the number of nodes on the specified location.

    count()@<Location>

where:

- `<Location>` is valid for point, 1D, 2D, and 3D locations.

`count()@Polyline1` returns the number of points on the specified polyline locator.

#### 15.5.5.1. Tools > Command Editor Example

    >calculate count, <Location>

#### 15.5.5.2. Tools > Function Calculator Example

This example returns the number of nodes in the specified domain.

Function: `count`, Location: `MainDomain`.

Release 18.2 - © ANSYS, Inc. All rights reserved.