---
id: "P:cAlgo.API.ChartTemplateIndicators.Count"
kind: "property"
type: "T:cAlgo.API.ChartTemplateIndicators"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Templates/ChartTemplateIndicators/Count/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# ChartTemplateIndicators.Count

Member of [ChartTemplateIndicators](https://help.ctrader.com/ctrader-algo/references/Chart/Templates/ChartTemplateIndicators/index.md).

## Count

Gets the number of all indicators attached to a chart template.

Environments: Desktop supported · CLI supported · Cloud not supported.

- Cloud: Never available in the cloud: it is only returned by members that do not work there (ChartTemplate.Indicators).

C#:

```csharp
int Count {get;}
```

Python:

```python
chartTemplateIndicators.Count: int
```

### Returns

`int` — 

Available since cAlgo.API 5.6.

### Examples

C#:

```csharp
var template = ChartTemplates.Get("My Template");
if (template != null)
    Print("Indicators in the template: {0}", template.Indicators.Count);
```

Python:

```python
template = api.ChartTemplates.Get("My Template")
if template is not None:
    api.Print(f"Indicators in the template: {template.Indicators.Count}")
```

