Here's some perl code that may or may not be useful for someone. It's a script to connect to a ZCS instance, get the number of accounts on that system, randomly select a 99% confidence sample with a 4% margin of error, then output the growth by month of those accounts.
You will need to put a file called "auth.yaml" in the script directory, the format is in the script:
Output looks something like:
email@example.com, Oct-2008, 1240517
firstname.lastname@example.org, Nov-2008, 892160
email@example.com, Dec-2008, 418252
firstname.lastname@example.org, Jan-2009, 317260
email@example.com, Feb-2009, 470876
firstname.lastname@example.org, Mar-2009, 1017728
To modify the date range, you'll need to edit the script at line 84 and change "( year => 2008, month => 5 )" to whatever you need.
I like to redirect the output from the script to a .csv file. You can then perform whatever analysis you want
Comments, modifications greatly appreciated
use List::Util qw(sum shuffle);