Input: Sentence: 'A small heard of cows looking around a grassy field'. Count the number of nouns in this sentence.
Output: 2