Re: Flag rows in a dataset

I have this response variable in my data set which I want to flag if it has a value 40 or less.

The command you shared with me does highlight the rows that have a value of 40 or less, however is there a way that I can add the number of rows highlighted and have some caption box pop up with the number of rows highlighted?