added COUNT, ofInt, toInt to TEnum