Input: Sentence: 'Some very cute giraffes by a very tall fence'. Count the number of nouns in this sentence.
Output: 2