Enable Button if enough words are inputted in Text Box

I know Kana used the term “words”, but how often are multiple words expected in a password input box? I’ve never seen it. The code also suggested that the intended check was for four characters entered. Kana?