> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/table/windowcount.md).

# WINDOWCOUNT

WINDOWCOUNT(`column`, `window size / static window start`, `static window end`)

Returns a rolling or static window count from a given column

### Arguments

| Argument                            | Description                                                                                                                          |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `column`                            | Column on which to compute the window count. Must be numeric.                                                                        |
| `window size / static window start` | Size of rolling window calculation. If two window values are provided, this is the 1st row number for the static window calculation. |
| `static window end`                 | Optional, default is `None`. 2nd row number for static window calculation.                                                           |

### Outputs

Window count(s).

### Example

{% embed url="<https://datawrapper.dwcdn.net/I0bHV/1>" %}
