Include the “less” before “than X”. The first sentence should be sufficient as the message to a user - simple and short. The 2nd sentence is more noise than anything, not something a user would really need to see. Or even just “Topic titles require a minimum of X unique characters.” JMHO.
Edit: I think the word “unique” is the strong word.