I completely agree, but too many websites put upper limits on the password length (which is completely idiotic) to be able to do this in practice.
What I run into more frequently is that I have to click the 'Forgot password' link and reset it. Then I cross my fingers and wait to see if they email it back in plain text (this is unforgivable) so I can count the characters and learn what the max length is that way.