MATLAB: How to count 3 group red pixel of original image

color classificationcountImage Processing Toolboxpixelred

How can I count red pixel (3 groups) of original image Like this output?
Thank you.