I'm making a munin plugin to track the total number of Zimbra accounts and number of accounts per server. I'm looking for any command line ways to get those numbers.

I know a few ways to get the total number of accounts, including these two:

zmsoap -z GetLicenseRequest | grep TotalAccounts
zmprov -l gaa | wc -l
but for getting the number of accounts per server, the only thing I have so far is this:
zmprov -l gaa -s `zmhostname` | wc -l
Anyone got other ways to get that data from Zimbra? Thanks!