Input: Sentence: 'A cool beverage sits on a table at a seaside restaurant'. Count the number of nouns in this sentence.
Output: 4