Adds namedCount to database classes
Changes to support querying countrecords from Query
Reverting namedCount implementation, replacing with .counting() method to Query
Adds support for .counting("countablefieldname") to Query and SqlQuery for .count() and .groupBy()
Integrates CountRecord Dimensions with Query for counts and groupBys, changes implementation to use ObjectIndex instead of String, and adds .countingDateRange() to Query