# count the number of characters in a string:
len("The quick brown fox jumps over the lazy dog")
# OUTPUT: 43
# count the number of character OCCURENCES in a string:
string = "The quick brown fox jumps over the lazy dog"
string.count(" ")
# OUTPUT: 8