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:
firstname.lastname@example.org, Oct-2008, 1240517
email@example.com, Nov-2008, 892160
firstname.lastname@example.org, Dec-2008, 418252
email@example.com, Jan-2009, 317260
firstname.lastname@example.org, Feb-2009, 470876
email@example.com, 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);