# getLinkCount

### Description

@short: Returns the number of all dependency links presented in the Gantt chart

@signature: getLinkCount: () =\> number

### Returns
- ` count` - (number) - the number of dependency links

### Example

~~~jsx
const count = gantt.getLinkCount();
~~~

### Change log
- added in version 4.0
