# libtmux.Selection:count

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/query.lua#L300
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-selection-count/

```
count: fun(self: libtmux.Selection<T>):integer
```
