# forge.signals.count_true

```python
forge.signals.count_true(condition: np.ndarray | ConditionTree, bars: int, /) -> np.ndarray
```

How many of this bar and the ``bars - 1`` before it the condition was true on, as whole
numbers. A bar with fewer bars behind it counts the bars that exist.

Since Forge API 1.
