Gantt APIMethodsgetTaskCountOn this pagegetTaskCount Description Gets the number of tasks that are currently loaded in the gantt getTaskCount: () => numberReturns count - (number) - the number of tasks in the schedule Examplegantt.getTaskCount();Related API getVisibleTaskCount