Input: Sentence: 'A classical building interior full of people in passing on a rainy day'. Count the number of nouns in this sentence.
Output: 4