||Thank you for taking the time to get that code for me, it's appreciated. Unfortunately, it's not quite the right thing.
I put this in a module like you said, and was able to run it fine. It added a feature count to the table of contents, but it doesn't appear in the legend. In addition, it's giving the feature count for the entire layer, but I'm looking for feature counts in each of 6 classes, so it's not quite the right thing.
Thank you for the code, but is there a slight variation that will count the records in each class?