# getVisibleTaskCount

### Description

@short: 获取屏幕上可见任务的数量（那些未折叠的任务）

@signature: getVisibleTaskCount: () =\> number

### Returns
- ` count` - (number) - 可见任务的数量

### Example

~~~jsx
gantt.getVisibleTaskCount();
~~~

### Related API
- [getTaskCount](api/method/gettaskcount.md)