# getVisibleTaskCount

### Description

@short: Gets the number of tasks visible on the screen (those that are not collapsed)

@signature: getVisibleTaskCount: () =\> number

### Returns
- ` count` - (number) - the number of visible tasks

### Example

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

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

