Input: Sentence: 'there is a whine glass and a tall glass sitting on a bar table'. Count the number of nouns in this sentence.
Output: 5