Input: Sentence: 'A row of multi colored teddy bears hanging from a rope under a tent'. Count the number of nouns in this sentence.
Output: 5