+ 2
Post your attempt here so we can help. Generally speaking, you could make use of a counter, add 1 to its value every time the user inserts a password and check whether the value of the counter has reached the limit every time the password is inserted.



