I have multiple labels as part of my form and I'm unable to attach classes to them individually due to the constraints of the system I'm working within and they don't contain IDs. I need to style the labels differently depending on their content, e.g. if it has less than 5 words then I will style it one way, if it has more than 5 words I will style it another. I need to find a way to dynamically add a class to the label depending on whether it has less or more than 5 words.I have multiple labels as part of my form and I