Input: Sentence: 'Three labs are standing near a grassy doorway'. Count the number of nouns in this sentence.
Output: 2