count the number of items in a bag
catmandu count <STORE> <OPTIONS> catmandu count ElasticSearch --index-name shop --bag products \ --query 'brand:Acme' catmandu help store ElasticSearch
To count the number of items from an importer, use Catmandu::Exporter::Count.