returns the number of measures whose aggregation function is distinct-count . concode_field_sep RolapStar star concode_elem_sep boolean countOnly concode_field_sep boolean isPartOfSelect concode_elem_sep boolean isPartOfSelect concode_elem_sep void extraPredicates concode_elem_sep Pair<String,List<SqlStatement.Type>> generateSqlQuery concode_elem_sep RolapStar getStar concode_elem_sep void addMeasure concode_elem_sep Map<String,String> distinctGenerateSql concode_elem_sep boolean isAggregate concode_elem_sep Map<String,String> nonDistinctGenerateSql concode_elem_sep void addGroupingSets concode_elem_sep SqlQuery newSqlQuery concode_elem_sep boolean isOrdered concode_elem_sep void addGroupingFunction concode_elem_sep List<StarPredicate> getPredicateList
int function ( ) { int loc0 = 0 ; for ( int loc1 = 0 , loc2 = getMeasureCount ( ) ; loc1 < loc2 ; loc1 ++ ) { RolapStar . Measure loc3 = getMeasure ( loc1 ) ; if ( loc3 . getAggregator ( ) . isDistinct ( ) ) { ++ loc0 ; } } return loc0 ; }