Input: Sentence: 'A wet rain soaked street surrounded by buildings and trees'. Count the number of nouns in this sentence.
Output: 4