pub fn cmd_stats(beans_dir: &Path, json: bool) -> Result<()>
Show project statistics: counts by status, priority, and completion percentage. When --json is passed, emits machine-readable JSON instead.
--json