working on aggregate data json
add get count options
Merge pull request #14 from Esri/getcount-fix

Getcount fix