[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCityCommunities](./bitburner.bladeburner.getcitycommunities.md)
## Bladeburner.getCityCommunities() method
You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.
Returns the estimated number of Synthoid communities in the specified city, or -1 if an invalid city was specified.
Signature:
```typescript
getCityCommunities(name: City): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| name | [City](./bitburner.city.md) | |
Returns:
number
Number of Synthoids communities in the specified city.
## Remarks
4 GB