if ( aggrInfo.aggregation.getName( ).equalsIgnoreCase( "COUNT" ) )
if ( aggrInfo.aggregation.getName( ).equalsIgnoreCase( BuiltInAggregationFactory.TOTAL_COUNT_FUNC) ||	aggrInfo.aggregation.getName( ).equalsIgnoreCase( BuiltInAggregationFactory.TOTAL_COUNTDISTINCT_FUNC))
	private Object getAggregateValue( int aggrIndex ) throws DataException	{		AggrExprInfo aggrInfo = getAggrInfo( aggrIndex );						if ( this.odiResult.getRowCount( ) == 0 )		{			if ( aggrInfo.aggregation.getName( ).equalsIgnoreCase( "COUNT" ) )				return new Integer( 0 );			else				return null;		}		try		{			int groupIndex;			if ( aggrInfo.aggregation.getType( ) == IAggregation.SUMMARY_AGGR )			{				// Aggregate on the whole list: there is only one group				if ( aggrInfo.groupLevel == 0 )					groupIndex = 0;				else					groupIndex = this.odiResult.getCurrentGroupIndex( aggrInfo.groupLevel );			}			else			{				groupIndex = this.odiResult.getCurrentResultIndex( );			}			return this.aggrValues[aggrIndex].get( groupIndex );		}		catch ( DataException e )		{			throw e;		}	}