added a new function: SQLFormulaParser::getTopOnParenthesisStack().
added code to support 'count(distinct ...)' formula.