countcats datafun · scripts/datafun/countcats.m COUNTCATS Count occurrences per category (MATLAB compat).