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