Count the pixels