macOS
brew install countslocal Homebrew formula metadata
brew
Tool for ad hoc profiling. Version 1.0.7 via Homebrew; verified 2026-04-14.
install
brew install countslocal Homebrew formula metadata
overview
Tool for ad hoc profiling
history
counts is a Rust command-line tool for ad hoc profiling by tallying repeated text lines and presenting frequency and weighted-frequency summaries.
The public repository was created in 2018. The README positions `counts` as an improved alternative to the Unix `sort | uniq -c` pipeline for profiling data gathered from logging print statements.
The project reached a 1.0.0 release in 2023 and continued with later 1.0.x releases.
Official installation is through `cargo install counts`, with Homebrew adding a binary-package route for users who prefer system package managers.
The tool is commonly used by inserting temporary logging into a program, piping or saving those logs, and then using `counts` to aggregate hot paths, loop counts, allocation sizes, or other domain-specific measurements.
The README includes a Firefox heap allocator instrumentation example, showing `counts` applied to millions of log lines and weighted byte totals.
For package nerds, `counts` is interesting because it deliberately packages a Unix-pipeline-shaped workflow as a fast single-purpose Rust binary: no daemon, no config, and no profiler integration required.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
counts | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/nnethercote/counts
install metadata
| Package key | brew:counts |
|---|---|
| Version | 1.0.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/counts |
| Homepage | https://github.com/nnethercote/counts |
| Repository | https://github.com/nnethercote/counts |
| Upstream docs | https://github.com/nnethercote/counts#readme |
| License | Unlicense |
| Source archive | https://github.com/nnethercote/counts/archive/refs/tags/1.0.7.tar.gz |
| Last updated | 2026-04-14T10:31:12Z |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | counts |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.