Add feature: count grayscale value