Given a string in CamelCase, print the number of words in the string on a new line.
Alice wrote a sequence of words in CamelCase as a string of letters, having the following properties: It is a concatenation of one or more words consisting of English letters. All letters in the first word are lowercase. For each of the subsequent words, the first letter is uppercase and rest of the letters are lowercase.