SUNN denotes the number of colors. SUNSimplify[SUNDelta[a, a]] yields n_c^2 -1.
SUNN
SUNSimplify[SUNDelta[a, a]]
Overview, SUNSimplify, SUNIndex, CA, CF.
SUNSimplify[SUNDelta[SUNIndex[a], SUNIndex[a]], SUNNToCACF -> False]
N^2-1