Input: Sentence: 'a herd of zebras drinking water at a lake'. Count the number of nouns in this sentence.
Output: 4