Suppose you have 'n' categorical variables each with 'm' levels.