Catman...:count(3pm)

πŸ“¦
version 1.2025 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– Catman...:count(3pm) πŸ’–

okay so bestie, welcome to the Catman...:count(3pm) page β€” that's the Perl User Contributed Documentation section, section 3pm, for the module Catmandu::Cmd::count. pull up a chair, this one's short and sweet πŸ“


✨ NAME ✨

Catmandu::Cmd::count β€” count the number of items in a bag πŸ’…

like... it counts. that's the whole job. iconic behavior honestly πŸ‘‘


🌸 EXAMPLES 🌸

here's the vibe, fr fr:

catmandu count <STORE> <OPTIONS>

catmandu count ElasticSearch --index-name shop --bag products \
                             --query 'brand:Acme'

catmandu help store ElasticSearch

so like, first line is the general shape of it β€” you drop in a <STORE> and whatever <OPTIONS> you want. the second one is a real live example hitting up ElasticSearch with --index-name shop, --bag products, and a --query 'brand:Acme' because we're counting the Acme-brand girlies specifically πŸŽ€

and then catmandu help store ElasticSearch if you wanna know more about that store β€” go read up, bestie, self-education is main character energy πŸ“šβœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

wanna count the number of items coming from an importer instead of a bag? then you want Catmandu::Exporter::Count. different tool, different job, same counting fantasy πŸ’œ


perl v5.40.1 Β· 2026-01-24 β€” that's the version and the date this page was born, and that's a wrap, bestie 🫢 go count something, slay, periodt βœ¨πŸ’–

πŸ“¦ where this page comes from