Input: Sentence: 'One adult sheep and two baby lambs stand in a grassy field'. Count the number of nouns in this sentence.
Output: 5