returns the number of all dependency links presented in the Gantt chart
const count = gantt.getLinkCount();
added in version 4.0