Input: Sentence: 'A water skier riding on a boat's wake'. Count the number of nouns in this sentence.
Output: 4