public StatisticType getType() {
        return type;
    }
@return The count aggregate for a COUNT stat, or the count of stat
events for a VALUE stat.
stroom-statistics/stroom-statistics-impl-sql/src/main/java/stroom/statistics/impl/sql/SQLStatValSourceDO.java