countEachLabel
COUNTEACHLABEL Count occurrences of each category label (MATLAB compat). T = COUNTEACHLABEL (A) returns a table with variables Label and Count, giving the number of elements of categorical array A in each category.
countEachLabelCOUNTEACHLABEL Count occurrences of each category label (MATLAB compat). T = COUNTEACHLABEL (A) returns a table with variables Label and Count, giving the number of elements of categorical array A in each category.