Input: Sentence: 'A surfer seemed to have ride a very small wave'. Count the number of nouns in this sentence.
Output: 2