Corrected comparison operator
Corrected lex count clearing
Updated count limit settings