How do I count the length of a string in Python?