added GetColorCount