Input: Sentence: 'a couple of giraffes are standing in a grassy field'. Count the number of nouns in this sentence.
Output: 3