Automic VaultAutomic Vault

brew

Install counts with Homebrew

Tool for ad hoc profiling. Version 1.0.7 via Homebrew; verified 2026-04-14.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install counts

local Homebrew formula metadata

overview

Package summary

Tool for ad hoc profiling

Commands and aliases

  • counts

history

Project history and usage

counts is a Rust command-line tool for ad hoc profiling by tallying repeated text lines and presenting frequency and weighted-frequency summaries.

Project history

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.

Adoption history

Official installation is through `cargo install counts`, with Homebrew adding a binary-package route for users who prefer system package managers.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2018: Public GitHub repository created.
  • 2020: 0.1.2 release published.
  • 2023: 1.0.0 release published.
  • 2026: 1.0.7 release published.

Related projects

  • Rust
  • cargo install
  • sort
  • uniq

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
countscliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.0.7
manager updated2026-04-14
local dataok
upstreamcurrent
latest detected1.0.7

https://github.com/nnethercote/counts

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:counts
Version1.0.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/counts
Homepagehttps://github.com/nnethercote/counts
Repositoryhttps://github.com/nnethercote/counts
Upstream docshttps://github.com/nnethercote/counts#readme
LicenseUnlicense
Source archivehttps://github.com/nnethercote/counts/archive/refs/tags/1.0.7.tar.gz
Last updated2026-04-14T10:31:12Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecounts
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment