Fixed COUNT,AVR,SUM
Fix missing constants.