Input: Sentence: 'A teddy bear sitting on the floor in front of a window'. Count the number of nouns in this sentence.
Output: 5