Input: Sentence: 'A giraffe standing in a lush green field next to sheep'. Count the number of nouns in this sentence.
Output: 3