# command.CommandSummary.public_argument_count

- **Module:** command.CommandSummary
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/command.rs#L612
- **Page:** https://libtmux.org/en/rs/latest/reference/command-commandsummary-public_argument_count/

```
command.CommandSummary.public_argument_count(self) -> usize
```

Return the number of public logical arguments.

## Example

```rust
use libtmux::Command;

let summary = Command::new("set-option").arg("mouse").summary();
assert_eq!(summary.public_argument_count(), 1);
```
