It's probably a simple photoshop as the image even seems to be higher resolution than the hardware.
But counting unique pixel colors in a photo of a display tells you nothing about the display.
Find a picture of a gameboy screen (10 colors) or gameboy color (56 colors) and send the jpg through that tool. You should be able to realize the problem from simple intuition about what a photo is.