
## TaskChildrenCount {#taskchildrencount}

Recursively calculates a number of task's children tasks through all levels.

**Returns:** The number of children.

```cpp
TaskChildrenCount(const System::SharedPtr< Task > & task)
```

| Parameter | Description |
| --- | --- |
| task | The task which children calculate. |

