Input: Sentence: 'Several giraffe somewhat distant standing on the edge of a wooded area'. Count the number of nouns in this sentence.
Output: 4