Input: Sentence: 'Few boys are bathing in the river while two of them are carrying surf boards to the river'. Count the number of nouns in this sentence.
Output: 5