I want a way to monitor the number of restic transactions it makes during backups/restores/prune operations. My cloud provider b2 only offers the ability to see transactions via their web gui report, but do not offer these metrics via cli/api.
What is a good way to count the number of transactions restic makes for a particular command?