[Home](./index.md) > [bitburner](./bitburner.md) > [Hacknet](./bitburner.hacknet.md) > [numNodes](./bitburner.hacknet.numnodes.md)
## Hacknet.numNodes() method
Get the number of hacknet nodes you own.
Signature:
```typescript
numNodes(): number;
```
Returns:
number
number of hacknet nodes.
## Remarks
RAM cost: 0 GB
Returns the number of Hacknet Nodes you own.