FIX: add nbytes property in Categorical
Merge pull request #8414 from JanSchulz/nbytes_categories

FIX: add nbytes property in Categorical