Input: Sentence: 'A picture of a sign on a street upside down'. Count the number of nouns in this sentence.
Output: 3